From 0764e72051c6b74efe07539736f09c90b2e52672 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 Mar 2011 06:53:15 +0200 Subject: s3: Fix Coverity ID 2237: REVERSE_INULL --- source3/winbindd/winbindd_msrpc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/winbindd') 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); -- cgit