s4-dsdb: Fixed a compiler warning.
authorNadezhda Ivanova <nivanova@samba.org>
Fri, 27 Aug 2010 09:34:27 +0000 (12:34 +0300)
committerNadezhda Ivanova <nivanova@samba.org>
Fri, 27 Aug 2010 09:34:27 +0000 (12:34 +0300)
source4/dsdb/samdb/ldb_modules/util.c

index f046abf3a6ce9dd47223f3bef6c7bae86eaae1f7..36f0ae9d842d30810a49efb6674b42e8b9c16293 100644 (file)
@@ -1184,7 +1184,6 @@ bool dsdb_block_anonymous_ops(struct ldb_module *module,
                              TALLOC_CTX *mem_ctx)
 {
        TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
-       struct ldb_context *ldb = ldb_module_get_ctx(module);
        bool result;
        const struct ldb_val *hr_val = dsdb_module_find_dsheuristics(module,
                                                                     tmp_ctx);