r23515: Ensure status isn't used uninitialized.
authorJeremy Allison <jra@samba.org>
Sat, 16 Jun 2007 00:54:58 +0000 (00:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:24 +0000 (12:23 -0500)
Jeremy.

source/nsswitch/winbindd_group.c

index df2a75c244b35d52735d88a13a7e583fd755dc55..e851001403df4a474b0a8569703c11ad815583ae 100644 (file)
@@ -391,7 +391,7 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx,
                               char ***members, uint32 *n_members )
 {
        int i, j;       
-       NTSTATUS status;
+       NTSTATUS status = NT_STATUS_OK;
        uint32 num_names = 0;
        uint32 *name_types = NULL;
        char **names = NULL;