summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-25 21:20:21 +0100
committerVolker Lendecke <vl@samba.org>2012-02-25 22:14:38 +0100
commita5c044644f7387cb0859f823f91d735e94594b7a (patch)
tree99c202281aadec94813f2d45d582a1a366eb43a2 /nsswitch
parentbd6ff4dbab68b34b7903ebbde470b970e45dcdb7 (diff)
downloadsamba-a5c044644f7387cb0859f823f91d735e94594b7a.tar.gz
samba-a5c044644f7387cb0859f823f91d735e94594b7a.tar.bz2
samba-a5c044644f7387cb0859f823f91d735e94594b7a.zip
nsswitch: Remove a pointless if-clause
gr->num_gr_mem is a uint32, so it can never be < 0
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/winbind_nss_linux.c2
1 files changed, 1 insertions, 1 deletions
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;
}