From a4a360b7fecaae853bf7d064f982e0bb01e3e4d3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 30 Sep 2004 13:29:27 +0000 Subject: r2757: some minor fixes metze (This used to be commit 991b4777c8690337bb319c57550e918ced5d7503) --- source4/ldap_server/ldap_simple_ldb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/ldap_server/ldap_simple_ldb.c') 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); -- cgit