diff options
author | Christian Ambach <ambi@samba.org> | 2013-12-10 17:46:30 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-12-12 14:21:27 -0800 |
commit | 35b4ba0193d783d85283b07f520f0af8dc2c1260 (patch) | |
tree | f2dc71017bb8c4ec396eb94b2f46fcc40d201713 /lib/ldb/ldb_map | |
parent | 9784ed9fb75022fcd7eaef24108ed8c6acf7f86f (diff) | |
download | samba-35b4ba0193d783d85283b07f520f0af8dc2c1260.tar.gz |
lib/ldb 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 'lib/ldb/ldb_map')
-rw-r--r-- | lib/ldb/ldb_map/ldb_map_inbound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb/ldb_map/ldb_map_inbound.c b/lib/ldb/ldb_map/ldb_map_inbound.c index 06d52aa1d63..461e68113ab 100644 --- a/lib/ldb/ldb_map/ldb_map_inbound.c +++ b/lib/ldb/ldb_map/ldb_map_inbound.c @@ -476,7 +476,7 @@ static int map_add_do_local(struct map_context *ac) int ldb_map_modify(struct ldb_module *module, struct ldb_request *req) { const struct ldb_message *msg = req->op.mod.message; - struct ldb_request *search_req; + struct ldb_request *search_req = NULL; struct ldb_message *remote_msg; struct ldb_context *ldb; struct map_context *ac; @@ -699,7 +699,7 @@ static int map_delete_do_local(struct map_context *ac) /* Rename a record. */ int ldb_map_rename(struct ldb_module *module, struct ldb_request *req) { - struct ldb_request *search_req; + struct ldb_request *search_req = NULL; struct ldb_context *ldb; struct map_context *ac; int ret; |