aboutsummaryrefslogtreecommitdiff
path: root/lib/ldap.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-06 07:22:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-06 07:22:32 +0000
commit9f660862ecab9b0bbec0048f67fc5e60348e9b3f (patch)
treec996201f09db67eb2e247967d8ac91788b3d2069 /lib/ldap.c
parent1354671c903a74a59338a7826696b4d241ebb6e3 (diff)
unused variable removed
Diffstat (limited to 'lib/ldap.c')
-rw-r--r--lib/ldap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 7323788cf..e773551b9 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -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.
*/