From a5c044644f7387cb0859f823f91d735e94594b7a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Feb 2012 21:20:21 +0100 Subject: nsswitch: Remove a pointless if-clause gr->num_gr_mem is a uint32, so it can never be < 0 --- nsswitch/winbind_nss_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nsswitch/winbind_nss_linux.c') diff --git a/nsswitch/winbind_nss_linux.c b/nsswitch/winbind_nss_linux.c index 7b16752043..8d66a740a6 100644 --- a/nsswitch/winbind_nss_linux.c +++ b/nsswitch/winbind_nss_linux.c @@ -322,7 +322,7 @@ static NSS_STATUS fill_grent(struct group *result, struct winbindd_gr *gr, /* Group membership */ - if ((gr->num_gr_mem < 0) || !gr_mem) { + if (!gr_mem) { gr->num_gr_mem = 0; } -- cgit