summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-29 01:27:47 +0200
committerHaru <haru@dotalux.com>2016-04-29 01:27:47 +0200
commit8ac699f4840bdadfb92326250295e1fed8286183 (patch)
tree09f2e0a63cffc44d33c208c179aeaee497d45419 /src/map/clif.c
parentf488476193e26615a1d29d56bc3ccf5b52aeffe4 (diff)
parentba9e21984ee191865d11df1bb87f4142bb4cc5ab (diff)
downloadhercules-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/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4ec58b6bc..1948eecea 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9785,8 +9785,6 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data *sd)
bool is_fakename = false;
int outlen = 0;
- nullpo_retv(sd);
-
packet = RP2PTR(fd);
message = clif->process_chat_message(sd, packet, full_message, sizeof full_message);
if (message == NULL)
@@ -17801,7 +17799,6 @@ void clif_parse_bgqueue_checkstate(int fd, struct map_session_data *sd)
{
const struct packet_bgqueue_checkstate *p = RP2PTR(fd);
- nullpo_retv(sd);
if (sd->bg_queue.arena && sd->bg_queue.type) {
clif->bgqueue_update_info(sd,sd->bg_queue.arena->id,bg->id2pos(sd->bg_queue.arena->queue_id,sd->status.account_id));
} else {