From bca336720ed5cad2d6a1de79053acf597d859052 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Wed, 1 Jun 2016 20:00:11 +0000 Subject: [PATCH] chmode: silence harmless uninitialised variable warning --- ircd/chmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/chmode.c b/ircd/chmode.c index ea405d80..9f2cc88b 100644 --- a/ircd/chmode.c +++ b/ircd/chmode.c @@ -490,7 +490,7 @@ static bool check_forward(struct Client *source_p, struct Channel *chptr, const char *forward) { - struct Channel *targptr; + struct Channel *targptr = NULL; struct membership *msptr; if(!check_channel_name(forward) ||