]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unused variable removed
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 07:22:32 +0000 (07:22 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 07:22:32 +0000 (07:22 +0000)
lib/ldap.c

index 7323788cf6e85e119a1966aab760a2af17341fcb..e773551b9a2fbbae67c03e341024111e609db7ea 100644 (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.
    */