diff --git a/lib/ldap.c b/lib/ldap.c index a7c89de37245828f590df5e5d50d805c884afa88..cb2ba010113ef3006b5d7c1654f50c7711d07857 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -165,7 +165,6 @@ CURLcode Curl_ldap(struct connectdata *conn) void *ber; void *attribute; - int ldaptext; struct SessionHandle *data=conn->data; infof(data, "LDAP: %s\n", data->change.url); @@ -176,8 +175,6 @@ CURLcode Curl_ldap(struct connectdata *conn) return CURLE_LIBRARY_NOT_FOUND; } - ldaptext = data->set.ftp_ascii; /* This is a dirty hack */ - /* The types are needed because ANSI C distinguishes between * pointer-to-object (data) and pointer-to-function. */