Corrects a compile warning (#4689)
* Fixes #4686. * Corrects a compile warning for an uninitialized variable. Thanks to @Tutankhaten!
This commit is contained in:
parent
496f362ec9
commit
850904ab3e
@ -22369,7 +22369,7 @@ static bool skill_parse_row_skilldamage(char* split[], int columns, int current)
|
|||||||
value = strtol(split[0], &result, 10);
|
value = strtol(split[0], &result, 10);
|
||||||
|
|
||||||
if (*result) {
|
if (*result) {
|
||||||
ShowError("skill_parse_row_skilldamage: Invalid skill %s given for skill %d, skipping.\n", result, id);
|
ShowError("skill_parse_row_skilldamage: Invalid skill %s given, skipping.\n", result);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user