[Bf-blender-cvs] [1e2ff4f81b1] master: Cleanup: Add braces for clang tidy
Hans Goudey
noreply at git.blender.org
Tue Jul 7 17:10:49 CEST 2020
Commit: 1e2ff4f81b14b6f65f776044445037623914d6fc
Author: Hans Goudey
Date: Tue Jul 7 11:10:42 2020 -0400
Branches: master
https://developer.blender.org/rB1e2ff4f81b14b6f65f776044445037623914d6fc
Cleanup: Add braces for clang tidy
===================================================================
M source/blender/io/common/intern/dupli_persistent_id.cc
===================================================================
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;
More information about the Bf-blender-cvs
mailing list