summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-04-11 22:30:27 -0700
committerStefan Metzmacher <metze@samba.org>2013-04-19 13:15:40 +0200
commit77f7a46e180596fa081f4069edea9efd23e3f0c5 (patch)
treead15bc2824cec5655edf0ffbe1c626d245ed8f3f /source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
parent31714c97845fff11b2997c86b5fc3a3bff8ed710 (diff)
downloadsamba-77f7a46e180596fa081f4069edea9efd23e3f0c5.tar.gz
samba-77f7a46e180596fa081f4069edea9efd23e3f0c5.tar.bz2
samba-77f7a46e180596fa081f4069edea9efd23e3f0c5.zip
s4:dsdb: Fix warnings about not set / set but unused / shadowed variables
Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Apr 19 13:15:40 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/simple_ldap_map.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/simple_ldap_map.c3
1 files changed, 0 insertions, 3 deletions
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) {