summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-16 00:54:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:24 -0500
commitb877360b2e5bdf3811ea7a31fb879bce8c12d29d (patch)
treebeb67f5b9174819cbb64eba58e6c1e1e54852be7 /source3
parent5a80fa5c0c461404f6f4dc3b4218d6f235796fff (diff)
downloadsamba-b877360b2e5bdf3811ea7a31fb879bce8c12d29d.tar.gz
samba-b877360b2e5bdf3811ea7a31fb879bce8c12d29d.tar.bz2
samba-b877360b2e5bdf3811ea7a31fb879bce8c12d29d.zip
r23515: Ensure status isn't used uninitialized.
Jeremy. (This used to be commit 5b2836e2d5f9081b5e39637538d8f2d19e1115c4)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index df2a75c244..e851001403 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -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;