diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-15 15:09:13 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-15 15:09:13 -0800 |
commit | ddabc2b00c8b01dfd1c019e2d3a946a766fe4e51 (patch) | |
tree | adfe480df3d0fedc75046795a4dfcb4e915000f7 /source3 | |
parent | 7c701feb3da276a347923eb0a55a851216d27f9e (diff) | |
download | samba-ddabc2b00c8b01dfd1c019e2d3a946a766fe4e51.tar.gz samba-ddabc2b00c8b01dfd1c019e2d3a946a766fe4e51.tar.bz2 samba-ddabc2b00c8b01dfd1c019e2d3a946a766fe4e51.zip |
Fix "status used uninitialized" warnings.
Jeremy.
(This used to be commit e57856fff2ef86481ac6770c7d010a26666d8bdd)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/groupdb/mapping_ldb.c | 2 | ||||
-rw-r--r-- | source3/groupdb/mapping_tdb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c index 05056eabd2..454fe467a9 100644 --- a/source3/groupdb/mapping_ldb.c +++ b/source3/groupdb/mapping_ldb.c @@ -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; diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index 21a4f95383..67e377c338 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -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, |