clang-tidy: remove pointless string init

Found with readability-redundant-string-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-04-27 00:02:16 -07:00
committed by Luis Díaz Más
parent 143a1fbbe2
commit 9642e3cceb
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1481,7 +1481,7 @@ namespace Exiv2 {
// If value 2 is present, it is used instead of value 1.
if (value.count() > 1) {
std::string p = ""; // Used to enable ',' separation
std::string p; // Used to enable ',' separation
v = (uint16_t)value.toLong(1);
for (int i = 0; focusModes1[i].val != 0; i++) {