Core/Misc: Fix static analysis issues

(cherry picked from commit 41f4a80f3097b41d19592bcbe99b9a8444eacb19)
This commit is contained in:
jackpoz
2020-08-18 19:46:12 +02:00
committed by Shauren
parent 31654a2295
commit 76bd0adaa4
+1 -1
View File
@@ -1031,7 +1031,7 @@ DumpReturn PlayerDumpReader::LoadDump(std::string const& file, uint32 account, s
if (!ChangeColumn(ts, line, "at_login", "1"))
return DUMP_FILE_BROKEN;
}
else if (!ChangeColumn(ts, line, "name", name.c_str())) // characters.name
else if (!ChangeColumn(ts, line, "name", name)) // characters.name
return DUMP_FILE_BROKEN;
break;
}