1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

removed one compiler error and two "unused variable" warnings

This commit is contained in:
Daniel Stenberg 2001-08-15 12:26:34 +00:00
parent f78de2d8c1
commit cec8a3afb2

View File

@ -530,7 +530,6 @@ CURLcode Curl_ftp_done(struct connectdata *conn)
struct FTP *ftp = conn->proto.ftp; struct FTP *ftp = conn->proto.ftp;
ssize_t nread; ssize_t nread;
char *buf = data->buffer; /* this is our buffer */ char *buf = data->buffer; /* this is our buffer */
struct curl_slist *qitem; /* QUOTE item */
int ftpcode; int ftpcode;
if(data->bits.upload) { if(data->bits.upload) {
@ -610,7 +609,7 @@ CURLcode _ftp_sendquote(struct connectdata *conn, struct curl_slist *quote)
} }
} }
ítem = item->next; item = item->next;
} }
return CURLE_OK; return CURLE_OK;
@ -656,7 +655,6 @@ CURLcode _ftp(struct connectdata *conn)
char hostent_buf[8192]; char hostent_buf[8192];
#endif #endif
struct curl_slist *qitem; /* QUOTE item */
/* the ftp struct is already inited in ftp_connect() */ /* the ftp struct is already inited in ftp_connect() */
struct FTP *ftp = conn->proto.ftp; struct FTP *ftp = conn->proto.ftp;