diff options
author | Will Storey <will@summercat.com> | 2017-11-27 19:37:11 -0800 |
---|---|---|
committer | Will Storey <will@summercat.com> | 2017-11-27 19:37:11 -0800 |
commit | 1a49787ef25103d1a393c81e35fb949322fe0523 (patch) | |
tree | 9fa3ea3b390194650abbad47adf837bac105c418 /src/irc | |
parent | 8843d4f77d8e829135e2ff9b354990134c58c46a (diff) | |
download | irssi-1a49787ef25103d1a393c81e35fb949322fe0523.zip |
Revert initializing pointers to NULL
To maintain C89 compatibility
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/modes.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |