summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 22:06:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 01:48:09 +0300
commitf339f824f654aaae39d255466c4e34bda95594fb (patch)
tree1598e4b5109219baae9827118b26a0aabf2768d2 /src/map/clif.c
parentf488476193e26615a1d29d56bc3ccf5b52aeffe4 (diff)
downloadhercules-f339f824f654aaae39d255466c4e34bda95594fb.tar.gz
hercules-f339f824f654aaae39d255466c4e34bda95594fb.tar.bz2
hercules-f339f824f654aaae39d255466c4e34bda95594fb.tar.xz
hercules-f339f824f654aaae39d255466c4e34bda95594fb.zip
Fix compilation warnings with gcc 6.
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 {