Skip to content

Commit

Permalink
Corrects a compile warning (#4689)
Browse files Browse the repository at this point in the history
* Fixes #4686.
* Corrects a compile warning for an uninitialized variable.
Thanks to @Tutankhaten!
  • Loading branch information
aleos89 committed Mar 6, 2020
1 parent 496f362 commit 850904a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/skill.cpp
Expand Up @@ -22369,7 +22369,7 @@ static bool skill_parse_row_skilldamage(char* split[], int columns, int current)
value = strtol(split[0], &result, 10);

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;
}

Expand Down

0 comments on commit 850904a

Please sign in to comment.