Core/Misc: Fix static analysis issues

(cherry picked from commit 41f4a80f30)
This commit is contained in:
jackpoz
2017-07-15 16:41:59 +02:00
committed by Shauren
parent 31654a2295
commit 76bd0adaa4

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;
}