diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-30 06:53:15 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-30 09:58:33 +0200 |
commit | 0764e72051c6b74efe07539736f09c90b2e52672 (patch) | |
tree | 14b451f697481f4360a462c2bd7b18f789f01648 /source3/winbindd/winbindd_msrpc.c | |
parent | 0080f944b47f3afa676153e5da7093a8667fc005 (diff) | |
download | samba-0764e72051c6b74efe07539736f09c90b2e52672.tar.gz |
s3: Fix Coverity ID 2237: REVERSE_INULL
Diffstat (limited to 'source3/winbindd/winbindd_msrpc.c')
-rw-r--r-- | source3/winbindd/winbindd_msrpc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c index 7bbcf77e8fb..7ddad1e9660 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); |