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:
authorSergey Sharybin <sergey@blender.org>2020-08-07 13:17:29 +0300
committerSergey Sharybin <sergey@blender.org>2020-08-07 13:18:15 +0300
commitcfc6f9eb18e701f5be601b95c45004e8cf7fbc81 (patch)
treeb0e8c1bd77118a364b14ea3c3fa7459177c21a1b /source/blender/depsgraph/intern/depsgraph_tag.cc
parent156448ba4ba350dd6f9718b4610f14f4ba187af6 (diff)
Clang-Tidy: Address readability-redundant-string-init
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 1d8fba21857..7c201de66f2 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -429,7 +429,7 @@ string stringify_update_bitfield(int flag)
if (flag == 0) {
return "LEGACY_0";
}
- string result = "";
+ string result;
int current_flag = flag;
/* Special cases to avoid ALL flags form being split into
* individual bits. */