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/io/collada/collada_internal.cpp
parent156448ba4ba350dd6f9718b4610f14f4ba187af6 (diff)
Clang-Tidy: Address readability-redundant-string-init
Diffstat (limited to 'source/blender/io/collada/collada_internal.cpp')
-rw-r--r--source/blender/io/collada/collada_internal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/collada_internal.cpp b/source/blender/io/collada/collada_internal.cpp
index f123e8ea31f..b3fa9ba1251 100644
--- a/source/blender/io/collada/collada_internal.cpp
+++ b/source/blender/io/collada/collada_internal.cpp
@@ -277,7 +277,7 @@ std::string encode_xml(std::string xml)
{'<', "&lt;"}, {'>', "&gt;"}, {'"', "&quot;"}, {'\'', "&apos;"}, {'&', "&amp;"}};
std::map<char, std::string>::const_iterator it;
- std::string encoded_xml = "";
+ std::string encoded_xml;
for (unsigned int i = 0; i < xml.size(); i++) {
char c = xml.at(i);