From d0725afa8363b5f7b0612e087b48013d39339039 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 18 Jan 2015 11:37:45 -0200 Subject: Fixing 38 issues Addressing out of bounds read/write, pointless null checks on already deferenced variables, dead code. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind --- src/map/intif.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/map/intif.c') diff --git a/src/map/intif.c b/src/map/intif.c index 73fb648ae..aac04df33 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -1248,9 +1248,6 @@ void intif_parse_GuildBasicInfoChanged(int fd) { int idx, max; struct guild_skill *gs = (struct guild_skill *)RFIFOP(fd,10); - if( gs == NULL ) - return; - idx = gs->id - GD_SKILLBASE; max = guild->skill_get_max(gs->id); if( gs->lv > max ) -- cgit v1.2.3-70-g09d2