Commit 9f660862 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

unused variable removed

parent 1354671c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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.
   */