summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_simple_ldb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-07 05:38:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:38 -0500
commit1aabcd7312379d626e81b0fff44c0e6608ea41e5 (patch)
treeef7a86f73dc36675d8cfb9d5c990dd6bbcf632a4 /source4/ldap_server/ldap_simple_ldb.c
parented6a5a1e0e73eda926e62aba105d6d672d5dec97 (diff)
downloadsamba-1aabcd7312379d626e81b0fff44c0e6608ea41e5.tar.gz
samba-1aabcd7312379d626e81b0fff44c0e6608ea41e5.tar.bz2
samba-1aabcd7312379d626e81b0fff44c0e6608ea41e5.zip
r2836: removed a couple of unused variables
(This used to be commit 391b09dad1cb549b4ce508265a9925c405201e47)
Diffstat (limited to 'source4/ldap_server/ldap_simple_ldb.c')
-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;