From: Volker Lendecke Date: Wed, 30 Mar 2011 04:53:15 +0000 (+0200) Subject: s3: Fix Coverity ID 2237: REVERSE_INULL X-Git-Tag: ldb-1.1.0~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0764e72051c6b74efe07539736f09c90b2e52672;p=thirdparty%2Fsamba.git s3: Fix Coverity ID 2237: REVERSE_INULL --- 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);