summaryrefslogtreecommitdiffstats
path: root/source4/dsdb
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:52:29 +0100
committerJeremy Allison <jra@samba.org>2013-12-12 14:21:28 -0800
commitfbc2dfddf46d26f9ded3531148764533bacf13ff (patch)
treeb14723cf5b6a0365e105d69dd559efd694d6fc19 /source4/dsdb
parentf9e5cdfa3f8ae08eb72ab4693ad67a8c730c8479 (diff)
downloadsamba-fbc2dfddf46d26f9ded3531148764533bacf13ff.tar.gz
samba-fbc2dfddf46d26f9ded3531148764533bacf13ff.tar.xz
samba-fbc2dfddf46d26f9ded3531148764533bacf13ff.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/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samba_dsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
index 4697c09140..249f655a07 100644
--- a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
+++ b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
@@ -232,7 +232,7 @@ static int samba_dsdb_init(struct ldb_module *module)
int ret, len, i;
TALLOC_CTX *tmp_ctx = talloc_new(module);
struct ldb_result *res;
- struct ldb_message *rootdse_msg, *partition_msg;
+ struct ldb_message *rootdse_msg = NULL, *partition_msg;
struct ldb_dn *samba_dsdb_dn, *partition_dn;
struct ldb_module *backend_module, *module_chain;
const char **final_module_list, **reverse_module_list;