From 3e65bb86f92339181a2a30e8ccff6b923a04b0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 23 Nov 2021 13:02:00 +0100 Subject: [PATCH] Cleanup: fix clang-tidy warnings Fix clang-tidy warnings introduced by a recent commit on the release branch. No functional changes. --- source/blender/editors/asset/intern/asset_ops.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/asset/intern/asset_ops.cc b/source/blender/editors/asset/intern/asset_ops.cc index dccea2c01ea..41cca71b323 100644 --- a/source/blender/editors/asset/intern/asset_ops.cc +++ b/source/blender/editors/asset/intern/asset_ops.cc @@ -757,7 +757,7 @@ static int asset_bundle_install_exec(bContext *C, wmOperator *op) BLI_assert_msg(lib, "If the asset library is not known, how did we get here?"); BKE_reportf(op->reports, RPT_INFO, - "Saved \"%s\" to asset library \"%s\"", + R"(Saved "%s" to asset library "%s")", BLI_path_basename(bmain->name), lib->name); return OPERATOR_FINISHED; @@ -844,7 +844,7 @@ static bool set_filepath_for_asset_lib(const Main *bmain, struct wmOperator *op) /* Concatenate the filename of the current blend file. */ const char *blend_filename = BLI_path_basename(bmain->name); - if (blend_filename == NULL || blend_filename[0] == '\0') { + if (blend_filename == nullptr || blend_filename[0] == '\0') { return false; }