diff options
author | Matthieu Patou <mat@matws.net> | 2012-05-29 23:03:09 -0700 |
---|---|---|
committer | Matthieu Patou <mat@matws.net> | 2012-06-22 23:16:04 -0700 |
commit | f8fd615c5950bab9a38cd31872ae447ffdc974f3 (patch) | |
tree | 2826c9bd92b42cb0eb5849b8a4171fbe3095f8b5 /source4 | |
parent | 8558e321c5fc7eab94f47b243024e0439dfe1378 (diff) | |
download | samba-f8fd615c5950bab9a38cd31872ae447ffdc974f3.tar.gz samba-f8fd615c5950bab9a38cd31872ae447ffdc974f3.tar.bz2 samba-f8fd615c5950bab9a38cd31872ae447ffdc974f3.zip |
s4-dsdb: fix a warning about unused variable
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 |
1 files changed, 0 insertions, 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 cda9b99c7b..a558a64999 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 |