Core/Misc: Fixed some more issues found by static code analysis tools.
This commit is contained in:
1 parent
3ec941bacf
commit
07d793b94b
17 files changed
+71
-68
No files matched your search
@@ -1170,7 +1170,7 @@ public:
|
||||
|
||||
int32 amount = 0;
|
||||
char *rankTxt = strtok(NULL, " ");
|
||||
if (!factionTxt || !rankTxt)
|
||||
if (!factionId || !rankTxt)
|
||||
return false;
|
||||
|
||||
amount = atoi(rankTxt);
|
||||
|
||||
Reference in new issue
Block a user