From f8fd615c5950bab9a38cd31872ae447ffdc974f3 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 29 May 2012 23:03:09 -0700 Subject: [PATCH] s4-dsdb: fix a warning about unused variable --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index cda9b99c7bc..a558a64999e 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -2790,7 +2790,6 @@ static int replmd_delete(struct ldb_module *module, struct ldb_request *req) OBJECT_TOMBSTONE=4, OBJECT_REMOVED=5 }; enum deletion_state deletion_state, next_deletion_state; bool enabled; - int functional_level; if (ldb_dn_is_special(req->op.del.dn)) { return ldb_next_request(module, req); @@ -2807,8 +2806,6 @@ static int replmd_delete(struct ldb_module *module, struct ldb_request *req) return LDB_ERR_OPERATIONS_ERROR; } - functional_level = dsdb_functional_level(ldb); - old_dn = ldb_dn_copy(tmp_ctx, req->op.del.dn); /* we need the complete msg off disk, so we can work out which -- 2.11.4.GIT