From ae4a45179e4e20a9638f389bb0adc5131f693b13 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Fri, 3 Nov 2017 16:32:33 +1100 Subject: [PATCH] Remove unnecessary NULL check in whoreply() new_w has already been checked for NULL further up the loop. --- source/who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/who.c b/source/who.c index dfbcd36..600e4e0 100644 --- a/source/who.c +++ b/source/who.c @@ -484,7 +484,7 @@ do return; } - if (new_w && new_w->who_mask) + if (new_w->who_mask) { if (new_w->who_mask & WHO_HERE) ok = ok && (*stat == 'H');