diff options
author | Christian Ambach <ambi@samba.org> | 2013-12-10 17:52:29 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-12-12 14:21:28 -0800 |
commit | f9e5cdfa3f8ae08eb72ab4693ad67a8c730c8479 (patch) | |
tree | 0e4edca828607adc28da39edbcd7331dc7dd6fef /source4 | |
parent | e5cb10f59122acc56a465c19885fe74a39985700 (diff) | |
download | samba-f9e5cdfa3f8ae08eb72ab4693ad67a8c730c8479.tar.gz samba-f9e5cdfa3f8ae08eb72ab4693ad67a8c730c8479.tar.xz samba-f9e5cdfa3f8ae08eb72ab4693ad67a8c730c8479.zip |
s4:dsdb fix compiler warnings
about potentially uninitialized variables
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/password_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 7974169499..3e0f1a091e 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -2614,7 +2614,7 @@ static int get_domain_data_callback(struct ldb_request *req, struct ldb_context *ldb; struct ph_context *ac; struct loadparm_context *lp_ctx; - int ret; + int ret = LDB_SUCCESS; ac = talloc_get_type(req->context, struct ph_context); ldb = ldb_module_get_ctx(ac->module); @@ -3151,7 +3151,7 @@ static int ph_mod_search_callback(struct ldb_request *req, struct ldb_reply *are { struct ldb_context *ldb; struct ph_context *ac; - int ret; + int ret = LDB_SUCCESS; ac = talloc_get_type(req->context, struct ph_context); ldb = ldb_module_get_ctx(ac->module); |