Author: metze Date: 2004-09-30 13:29:27 +0000 (Thu, 30 Sep 2004) New Revision: 2757
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ldap_server&rev=2757&nolog=1 Log: some minor fixes metze Modified: branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c Changeset: Modified: branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c =================================================================== --- branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c 2004-09-30 01:04:58 UTC (rev 2756) +++ branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c 2004-09-30 13:29:27 UTC (rev 2757) @@ -40,7 +40,7 @@ */ 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 @@ 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);