r3926: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Nov 2004 17:35:37 +0000 (17:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:06 +0000 (13:06 -0500)
metze
(This used to be commit a9cbaa3cff470f58031972d53ecb6f5856b187e0)

source4/lib/ldb/ldb_ldap/ldb_ldap.c

index d9640f247a54621d00dfad2010a08ad7201ba35b..b9c3865acc5e596454cef1a2bf715e25c3e8e89f 100644 (file)
@@ -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) {