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:
authorHans Goudey <h.goudey@me.com>2020-07-07 18:10:42 +0300
committerHans Goudey <h.goudey@me.com>2020-07-07 18:10:42 +0300
commit1e2ff4f81b14b6f65f776044445037623914d6fc (patch)
tree50730006634d2a3acfcc032253c261d64d41b9cc /source/blender/io/common
parent0edf2fc1289dd4b85eda3697355912de35cbbc49 (diff)
Cleanup: Add braces for clang tidy
Diffstat (limited to 'source/blender/io/common')
-rw-r--r--source/blender/io/common/intern/dupli_persistent_id.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/io/common/intern/dupli_persistent_id.cc b/source/blender/io/common/intern/dupli_persistent_id.cc
index f0f3079a75c..b40cd83ef44 100644
--- a/source/blender/io/common/intern/dupli_persistent_id.cc
+++ b/source/blender/io/common/intern/dupli_persistent_id.cc
@@ -91,8 +91,9 @@ std::string PersistentID::as_object_name_suffix() const
/* Find one past the last index. */
int index;
- for (index = 0; index < array_length_ && persistent_id_[index] < INT_MAX; ++index)
+ for (index = 0; index < array_length_ && persistent_id_[index] < INT_MAX; ++index) {
;
+ }
/* Iterate backward to construct the string. */
--index;