summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorWill Storey <will@summercat.com>2017-11-27 19:37:11 -0800
committerWill Storey <will@summercat.com>2017-11-27 19:37:11 -0800
commit1a49787ef25103d1a393c81e35fb949322fe0523 (patch)
tree9fa3ea3b390194650abbad47adf837bac105c418 /src/fe-common
parent8843d4f77d8e829135e2ff9b354990134c58c46a (diff)
downloadirssi-1a49787ef25103d1a393c81e35fb949322fe0523.zip
Revert initializing pointers to NULL
To maintain C89 compatibility
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/irc/fe-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c
index cc83d476..850174c5 100644
--- a/src/fe-common/irc/fe-events.c
+++ b/src/fe-common/irc/fe-events.c
@@ -224,7 +224,7 @@ static void event_nick(IRC_SERVER_REC *server, const char *data,
static void event_mode(IRC_SERVER_REC *server, const char *data,
const char *nick, const char *addr)
{
- char *params = NULL, *channel = NULL, *mode = NULL;
+ char *params, *channel, *mode;
g_return_if_fail(data != NULL);