diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-08-07 13:17:29 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-08-07 13:18:15 +0300 |
commit | cfc6f9eb18e701f5be601b95c45004e8cf7fbc81 (patch) | |
tree | b0e8c1bd77118a364b14ea3c3fa7459177c21a1b /source/blender/io/collada/collada_internal.cpp | |
parent | 156448ba4ba350dd6f9718b4610f14f4ba187af6 (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.cpp | 2 |
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) {'<', "<"}, {'>', ">"}, {'"', """}, {'\'', "'"}, {'&', "&"}}; 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); |