summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8ad773a73..52fec7d52 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -16390,7 +16390,7 @@ int skill_elementalanalysis(struct map_session_data* sd, int n, int skill_lv, un
}
int skill_changematerial(struct map_session_data *sd, int n, unsigned short *item_list) {
- int i, j, k, c, p, nameid, amount;
+ int i, j, k, c, p = 0, nameid, amount;
nullpo_ret(sd);
nullpo_ret(item_list);