chmode: silence harmless uninitialised variable warning

This commit is contained in:
Aaron Jones 2016-06-01 20:00:11 +00:00
parent d352ca15aa
commit 73d759aeb4
No known key found for this signature in database
GPG key ID: 6E854C0FAAD4CEA4

View file

@ -490,7 +490,7 @@ static bool
check_forward(struct Client *source_p, struct Channel *chptr, check_forward(struct Client *source_p, struct Channel *chptr,
const char *forward) const char *forward)
{ {
struct Channel *targptr; struct Channel *targptr = NULL;
struct membership *msptr; struct membership *msptr;
if(!check_channel_name(forward) || if(!check_channel_name(forward) ||