Core/Misc: Fix static analysis issues

This commit is contained in:
Aokromes committed 2017-07-15 17:10:46 +02:00
1 parent 33c7f9d471
commit a36b0fa1f4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -935,7 +935,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;
}