s4:repl_meta_data: squelch compile warning with -O3
authorChristian Ambach <ambi@samba.org>
Thu, 12 May 2016 15:10:51 +0000 (17:10 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 13 May 2016 01:50:08 +0000 (03:50 +0200)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri May 13 03:50:10 CEST 2016 on sn-devel-144

source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 40bccaca6afdfbcd101fb1d1addc030854ba81a5..f65cc655c79b16e7e1f3add21ff2aad941ae5e04 100644 (file)
@@ -3710,7 +3710,7 @@ static int replmd_op_name_modify_callback(struct ldb_request *req, struct ldb_re
 {
        struct replmd_replicated_request *ar =
                talloc_get_type_abort(req->context, struct replmd_replicated_request);
-       struct ldb_dn *conflict_dn;
+       struct ldb_dn *conflict_dn = NULL;
        int ret;
 
        if (ares->error != LDB_SUCCESS) {