1
0
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:
Volker Lendecke 2005-12-08 15:34:38 +00:00 committed by Gerald (Jerry) Carter
parent 86ab4cf42b
commit 8a7d6eb2c0
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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;