Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-11-23 15:02:00 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-11-23 15:02:00 +0300
commit3e65bb86f92339181a2a30e8ccff6b923a04b0e8 (patch)
tree197017f14232e19aa703b980e7b16d8060122e11
parentcd2849c89b65131cc381a1bf9ab75527afd51a4f (diff)
Cleanup: fix clang-tidy warnings
Fix clang-tidy warnings introduced by a recent commit on the release branch. No functional changes.
-rw-r--r--source/blender/editors/asset/intern/asset_ops.cc4
1 files 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;
}