summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-12-29 16:43:44 -0800
committerStefan Metzmacher <metze@samba.org>2013-01-21 17:51:16 +0100
commitabc0030f780b775bf7656b572ee754ebd8079b5d (patch)
tree5d9acfaa9a344e17aafd2ce9de44a32cd99c6d7d
parentc52408f461fb3515cde17eebb458b566fd0a049c (diff)
downloadsamba-abc0030f780b775bf7656b572ee754ebd8079b5d.tar.gz
samba-abc0030f780b775bf7656b572ee754ebd8079b5d.tar.bz2
samba-abc0030f780b775bf7656b572ee754ebd8079b5d.zip
dsdb: Fix warning about unused var
Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jan 21 17:51:16 CET 2013 on sn-devel-104
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_out.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
index 8e28ec7b78..b1eacf59eb 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
@@ -707,7 +707,6 @@ static int extended_dn_out_search(struct ldb_module *module, struct ldb_request
const char * const *const_attrs;
struct ldb_context *ldb = ldb_module_get_ctx(module);
int ret;
- bool critical;
struct extended_dn_out_private *p = talloc_get_type(ldb_module_get_private(module), struct extended_dn_out_private);
@@ -806,7 +805,6 @@ static int extended_dn_out_search(struct ldb_module *module, struct ldb_request
/* mark extended DN and storage format controls as done */
if (control) {
- critical = control->critical;
control->critical = 0;
}