Skip to content
Permalink
Browse files
Corrects a compile warning (#4689)
* 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 850904ab3ea5154d642e41477e58b5f0c77cc9ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/map/skill.cpp
@@ -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;
}

0 comments on commit 850904a

Please sign in to comment.