summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-30 13:29:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:30 -0500
commita4a360b7fecaae853bf7d064f982e0bb01e3e4d3 (patch)
treee51fa2aa62d6a7913c0f2e94a3dd4c2816f3b785 /source4
parent53e5e968305f226c967f64a2b7acac5e393b1287 (diff)
downloadsamba-a4a360b7fecaae853bf7d064f982e0bb01e3e4d3.tar.gz
samba-a4a360b7fecaae853bf7d064f982e0bb01e3e4d3.tar.bz2
samba-a4a360b7fecaae853bf7d064f982e0bb01e3e4d3.zip
r2757: some minor fixes
metze (This used to be commit 991b4777c8690337bb319c57550e918ced5d7503)
Diffstat (limited to 'source4')
-rw-r--r--source4/ldap_server/ldap_simple_ldb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c
index 7de992f3a4..d4c576a189 100644
--- a/source4/ldap_server/ldap_simple_ldb.c
+++ b/source4/ldap_server/ldap_simple_ldb.c
@@ -40,7 +40,7 @@ struct samdb_context {
*/
static char *sldb_fix_dn(const char *dn)
{
- char *new_dn, *n, *current;
+ char *new_dn;
int i, j, k;
/* alloc enough room to host the whole dn as multibyte string */
@@ -333,8 +333,6 @@ static NTSTATUS sldb_Del(struct ldapsrv_partition *partition, struct ldapsrv_cal
ldb_set_alloc(ldb, talloc_ldb_alloc, samdb);
ldb_ret = ldb_delete(ldb, dn);
- errstr = ldb_errstring(ldb);
-
del_reply = ldapsrv_init_reply(call, LDAP_TAG_DelResponse);
ALLOC_CHECK(del_reply);