mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
r12129: Fix uninitialized variables.
Volker (This used to be commit 8a7d6eb2c081c0d74b62aa76dc243946df62ced2)
This commit is contained in:
parent
7bf8de2f02
commit
ab51c18cc9
@ -3193,7 +3193,7 @@ static NTSTATUS ldapsam_enum_aliasmem(struct pdb_methods *methods,
|
||||
char **values;
|
||||
int i;
|
||||
pstring filter;
|
||||
size_t num_members;
|
||||
size_t num_members = 0;
|
||||
|
||||
*pp_members = NULL;
|
||||
*p_num_members = 0;
|
||||
|
@ -678,6 +678,9 @@ static int net_groupmap_listmem(int argc, const char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
members = NULL;
|
||||
num = 0;
|
||||
|
||||
if (!pdb_enum_aliasmem(&alias, &members, &num)) {
|
||||
d_printf("Could not list members for sid %s\n", argv[0]);
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user