summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:52:29 +0100
committerKarolin Seeger <kseeger@samba.org>2014-07-15 12:46:12 +0200
commit7013fff476245ec0c97777443496da5ec1c02311 (patch)
tree7243bcd830d1276f28975096a47b990e6ebfade6 /source4/dsdb
parent6b2d4aa613a53458b2f4c697b2b37d1be2000e5a (diff)
downloadsamba-7013fff476245ec0c97777443496da5ec1c02311.tar.gz
s4:dsdb fix compiler warnings
about potentially uninitialized variables Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit e5cb10f59122acc56a465c19885fe74a39985700)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c
index ceac8db7de2..cc0a9c25ebb 100644
--- a/source4/dsdb/samdb/ldb_modules/descriptor.c
+++ b/source4/dsdb/samdb/ldb_modules/descriptor.c
@@ -501,7 +501,7 @@ static int descriptor_search_callback(struct ldb_request *req, struct ldb_reply
struct ldb_val *sd_val = NULL;
struct ldb_message_element *sd_el;
DATA_BLOB *show_sd;
- int ret;
+ int ret = LDB_SUCCESS;
ac = talloc_get_type(req->context, struct descriptor_context);