mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r12129: Fix uninitialized variables.
Volker
This commit is contained in:
parent
86ab4cf42b
commit
8a7d6eb2c0
@ -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…
Reference in New Issue
Block a user