summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-30 06:53:15 +0200
committerVolker Lendecke <vl@samba.org>2011-03-30 09:58:33 +0200
commit0764e72051c6b74efe07539736f09c90b2e52672 (patch)
tree14b451f697481f4360a462c2bd7b18f789f01648
parent0080f944b47f3afa676153e5da7093a8667fc005 (diff)
downloadsamba-0764e72051c6b74efe07539736f09c90b2e52672.tar.gz
samba-0764e72051c6b74efe07539736f09c90b2e52672.tar.bz2
samba-0764e72051c6b74efe07539736f09c90b2e52672.zip
s3: Fix Coverity ID 2237: REVERSE_INULL
-rw-r--r--source3/winbindd/winbindd_msrpc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c
index 7bbcf77e8f..7ddad1e966 100644
--- a/source3/winbindd/winbindd_msrpc.c
+++ b/source3/winbindd/winbindd_msrpc.c
@@ -522,9 +522,7 @@ static NTSTATUS msrpc_lookup_usergroups(struct winbindd_domain *domain,
}
cached:
- if (pnum_groups) {
- *pnum_groups = num_groups;
- }
+ *pnum_groups = num_groups;
if (puser_grpsids) {
*puser_grpsids = talloc_move(mem_ctx, &user_grpsids);