summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ldap_server/ldap_simple_ldb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c
index 9a05c9aba5..1ac3796000 100644
--- a/source4/ldap_server/ldap_simple_ldb.c
+++ b/source4/ldap_server/ldap_simple_ldb.c
@@ -271,7 +271,6 @@ static NTSTATUS sldb_Del(struct ldapsrv_partition *partition, struct ldapsrv_cal
struct ldapsrv_reply *del_reply;
int ldb_ret;
struct samdb_context *samdb;
- const char *dn;
const char *errstr = NULL;
int result = LDAP_SUCCESS;
@@ -440,7 +439,6 @@ static NTSTATUS sldb_Compare(struct ldapsrv_partition *partition, struct ldapsrv
int result = 80;
struct samdb_context *samdb;
struct ldb_message **res;
- struct ldb_context *ldb;
const char *attrs[1];
const char *errstr;
const char *dn;