From 7e72f0cee8867837be53cb2119b610b00e9bd587 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 18 Feb 2013 00:30:28 -0300 Subject: Improvements all over the place Committing on the behalf of mkbu95 who is unable to do it himself, he coded it all and sent me the diff. Thanks mkbu95! Signed-off-by: shennetsind --- src/map/chat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/chat.c') diff --git a/src/map/chat.c b/src/map/chat.c index dfeb16cad..282b1730e 100644 --- a/src/map/chat.c +++ b/src/map/chat.c @@ -203,8 +203,8 @@ int chat_leavechat(struct map_session_data* sd, bool kicked) if( cd->users == 0 && cd->owner->type == BL_PC ) { // Delete empty chatroom - struct skill_unit* unit = NULL; - struct skill_unit_group* group = NULL; + struct skill_unit* unit; + struct skill_unit_group* group; clif_clearchat(cd, 0); db_destroy(cd->kick_list); -- cgit v1.2.3-70-g09d2