mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Fix "status used uninitialized" warnings.
Jeremy.
This commit is contained in:
parent
ed7322dcfa
commit
e57856fff2
@ -492,7 +492,7 @@ static NTSTATUS enum_aliasmem(const DOM_SID *alias, DOM_SID **sids, size_t *num)
|
||||
NULL
|
||||
};
|
||||
int ret, i;
|
||||
NTSTATUS status;
|
||||
NTSTATUS status = NT_STATUS_OK;
|
||||
struct ldb_result *res=NULL;
|
||||
struct ldb_dn *dn;
|
||||
struct ldb_message_element *el;
|
||||
|
@ -394,7 +394,7 @@ static NTSTATUS one_alias_membership(const DOM_SID *member,
|
||||
char *string_sid;
|
||||
TDB_DATA dbuf;
|
||||
const char *p;
|
||||
NTSTATUS status;
|
||||
NTSTATUS status = NT_STATUS_OK;
|
||||
TALLOC_CTX *frame;
|
||||
|
||||
slprintf(key, sizeof(key), "%s%s", MEMBEROF_PREFIX,
|
||||
|
Loading…
Reference in New Issue
Block a user