diff options
author | Haru <haru@dotalux.com> | 2016-04-29 01:27:47 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-29 01:27:47 +0200 |
commit | 8ac699f4840bdadfb92326250295e1fed8286183 (patch) | |
tree | 09f2e0a63cffc44d33c208c179aeaee497d45419 /src/map/script.c | |
parent | f488476193e26615a1d29d56bc3ccf5b52aeffe4 (diff) | |
parent | ba9e21984ee191865d11df1bb87f4142bb4cc5ab (diff) | |
download | hercules-8ac699f4840bdadfb92326250295e1fed8286183.tar.gz hercules-8ac699f4840bdadfb92326250295e1fed8286183.tar.bz2 hercules-8ac699f4840bdadfb92326250295e1fed8286183.tar.xz hercules-8ac699f4840bdadfb92326250295e1fed8286183.zip |
Merge pull request #1272 from 4144/gccwarnings
Add some new gcc 6 warnings and fix some error found by it
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index e869ddb62..181ff350f 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10085,6 +10085,7 @@ int buildin_killmonsterall_sub_strip(struct block_list *bl,va_list ap) struct mob_data *md; md = BL_CAST(BL_MOB, bl); + nullpo_ret(md); if (md->npc_event[0]) md->npc_event[0] = 0; |