mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Revert initializing pointers to NULL
To maintain C89 compatibility
This commit is contained in:
parent
8843d4f77d
commit
1a49787ef2
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user