Core/Misc: Fixed some more issues found by static code analysis tools.

This commit is contained in:
Sebastian Valle committed 2013-09-03 17:31:02 -05:00
1 parent 3ec941bacf
commit 07d793b94b
17 files changed
+71 -68

No files matched your search

+1 -1
View File
@@ -1170,7 +1170,7 @@ public:
int32 amount = 0;
char *rankTxt = strtok(NULL, " ");
if (!factionTxt || !rankTxt)
if (!factionId || !rankTxt)
return false;
amount = atoi(rankTxt);