Core/Misc: Fix static analysis issues
This commit is contained in:
1 parent
33c7f9d471
commit
a36b0fa1f4
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user