summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
index d9640f247a..b9c3865acc 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
@@ -498,8 +498,6 @@ static int lldb_modify(struct ldb_module *module, const struct ldb_message *msg)
static int lldb_lock(struct ldb_module *module, const char *lockname)
{
- struct ldb_context *ldb = module->ldb;
- struct lldb_private *lldb = module->private_data;
int ret = 0;
if (lockname == NULL) {
@@ -513,8 +511,6 @@ static int lldb_lock(struct ldb_module *module, const char *lockname)
static int lldb_unlock(struct ldb_module *module, const char *lockname)
{
- struct ldb_context *ldb = module->ldb;
- struct lldb_private *lldb = module->private_data;
int ret = 0;
if (lockname == NULL) {