From 1a49787ef25103d1a393c81e35fb949322fe0523 Mon Sep 17 00:00:00 2001 From: Will Storey Date: Mon, 27 Nov 2017 19:37:11 -0800 Subject: Revert initializing pointers to NULL To maintain C89 compatibility --- src/irc/core/modes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irc') diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index ecbf2571..cc3d0faf 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -480,8 +480,8 @@ static void event_user_mode(IRC_SERVER_REC *server, const char *data) static void event_mode(IRC_SERVER_REC *server, const char *data, const char *nick) { - IRC_CHANNEL_REC *chanrec = NULL; - char *params = NULL, *channel = NULL, *mode = NULL; + IRC_CHANNEL_REC *chanrec; + char *params, *channel, *mode; g_return_if_fail(data != NULL); -- cgit v1.2.3