1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

unused variable removed

This commit is contained in:
Daniel Stenberg 2004-05-06 07:22:32 +00:00
parent 1354671c90
commit 9f660862ec

View File

@ -242,7 +242,7 @@ CURLcode Curl_ldap(struct connectdata *conn)
const char *mod_name;
void *result;
void *entryIterator; /*! type should be 'LDAPMessage *' */
int ldaptext, num = 0;
int num = 0;
struct SessionHandle *data=conn->data;
infof(data, "LDAP local: %s\n", data->change.url);
@ -252,8 +252,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.
*/