svn commit: samba r23515 - in branches: SAMBA_3_0/source/nsswitch
SAMBA_3_0_26/source/nsswitch
jra at samba.org
jra at samba.org
Sat Jun 16 00:55:04 GMT 2007
Author: jra
Date: 2007-06-16 00:54:58 +0000 (Sat, 16 Jun 2007)
New Revision: 23515
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23515
Log:
Ensure status isn't used uninitialized.
Jeremy.
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_group.c
branches/SAMBA_3_0_26/source/nsswitch/winbindd_group.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_group.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_group.c 2007-06-16 00:39:52 UTC (rev 23514)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_group.c 2007-06-16 00:54:58 UTC (rev 23515)
@@ -391,7 +391,7 @@
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;
Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd_group.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd_group.c 2007-06-16 00:39:52 UTC (rev 23514)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd_group.c 2007-06-16 00:54:58 UTC (rev 23515)
@@ -391,7 +391,7 @@
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;
More information about the samba-cvs
mailing list