mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
removed unused variables
This commit is contained in:
parent
89ab5f4380
commit
1beb7de7e0
@ -265,7 +265,6 @@ static CURLcode ftp_readresp(curl_socket_t sockfd,
|
|||||||
ssize_t gotbytes;
|
ssize_t gotbytes;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
struct Curl_transfer_keeper *k = &data->reqdata.keep;
|
|
||||||
char *buf = data->state.buffer;
|
char *buf = data->state.buffer;
|
||||||
CURLcode result = CURLE_OK;
|
CURLcode result = CURLE_OK;
|
||||||
struct ftp_conn *ftpc = &conn->proto.ftpc;
|
struct ftp_conn *ftpc = &conn->proto.ftpc;
|
||||||
@ -448,7 +447,6 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */
|
|||||||
long timeout; /* timeout in seconds */
|
long timeout; /* timeout in seconds */
|
||||||
int interval_ms;
|
int interval_ms;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
struct Curl_transfer_keeper *k = &data->reqdata.keep;
|
|
||||||
char *line_start;
|
char *line_start;
|
||||||
int code=0; /* default ftp "error code" to return */
|
int code=0; /* default ftp "error code" to return */
|
||||||
char *buf = data->state.buffer;
|
char *buf = data->state.buffer;
|
||||||
|
@ -2244,7 +2244,6 @@ bool Curl_retry_request(struct connectdata *conn,
|
|||||||
{
|
{
|
||||||
bool retry = FALSE;
|
bool retry = FALSE;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
struct Curl_transfer_keeper *k = &data->reqdata.keep;
|
|
||||||
|
|
||||||
if((data->reqdata.keep.bytecount+conn->headerbytecount == 0) &&
|
if((data->reqdata.keep.bytecount+conn->headerbytecount == 0) &&
|
||||||
conn->bits.reuse &&
|
conn->bits.reuse &&
|
||||||
|
Loading…
Reference in New Issue
Block a user