From 77f7a46e180596fa081f4069edea9efd23e3f0c5 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 11 Apr 2013 22:30:27 -0700 Subject: s4:dsdb: Fix warnings about not set / set but unused / shadowed variables Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Fri Apr 19 13:15:40 CEST 2013 on sn-devel-104 --- source4/dsdb/samdb/ldb_modules/simple_ldap_map.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/dsdb/samdb/ldb_modules/simple_ldap_map.c') diff --git a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c index 91852f03ad..97016b5f62 100644 --- a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c +++ b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c @@ -822,7 +822,6 @@ static int entryuuid_sequence_number(struct ldb_module *module, struct ldb_reque struct ldb_context *ldb; int ret; struct map_private *map_private; - struct entryuuid_private *entryuuid_private; unsigned long long seq_num = 0; struct ldb_request *search_req; @@ -843,8 +842,6 @@ static int entryuuid_sequence_number(struct ldb_module *module, struct ldb_reque map_private = talloc_get_type(ldb_module_get_private(module), struct map_private); - entryuuid_private = talloc_get_type(map_private->caller_private, struct entryuuid_private); - /* All this to get the DN of the parition, so we can search the right thing */ partition_ctrl = ldb_request_get_control(req, DSDB_CONTROL_CURRENT_PARTITION_OID); if (!partition_ctrl) { -- cgit