s3: Fix Coverity ID 2144, DEADCODE
authorVolker Lendecke <vl@samba.org>
Wed, 16 Mar 2011 20:29:02 +0000 (21:29 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 16 Mar 2011 21:07:24 +0000 (22:07 +0100)
We could never have assigned the real value in line 481.

Andreas, please check!

source3/winbindd/winbindd_samr.c

index 40c0bb6bbbea7bdea1f306cbc9f9e3ef1f23eac5..0bcfc302e28590d3d6da86b1befcbfa5ce180b15 100644 (file)
@@ -450,7 +450,7 @@ static NTSTATUS sam_lookup_groupmem(struct winbindd_domain *domain,
        }
 
        if (pnum_names) {
-               pnum_names = 0;
+               *pnum_names = 0;
        }
 
        tmp_ctx = talloc_stackframe();