aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-21 10:18:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-21 10:18:15 +0000
commit1beb7de7e09e43c08b81b01b9f43116ff84660a9 (patch)
treea8bef4e801242b5d897220c71e5f9253aed8f21a
parent89ab5f4380b9fd6507e0bc365310d88c82dd3de1 (diff)
removed unused variables
-rw-r--r--lib/ftp.c2
-rw-r--r--lib/transfer.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 0f19bca58..07dcb9c76 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -265,7 +265,6 @@ static CURLcode ftp_readresp(curl_socket_t sockfd,
ssize_t gotbytes;
char *ptr;
struct SessionHandle *data = conn->data;
- struct Curl_transfer_keeper *k = &data->reqdata.keep;
char *buf = data->state.buffer;
CURLcode result = CURLE_OK;
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 */
int interval_ms;
struct SessionHandle *data = conn->data;
- struct Curl_transfer_keeper *k = &data->reqdata.keep;
char *line_start;
int code=0; /* default ftp "error code" to return */
char *buf = data->state.buffer;
diff --git a/lib/transfer.c b/lib/transfer.c
index 5aa1540c8..3004d14c3 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -2244,7 +2244,6 @@ bool Curl_retry_request(struct connectdata *conn,
{
bool retry = FALSE;
struct SessionHandle *data = conn->data;
- struct Curl_transfer_keeper *k = &data->reqdata.keep;
if((data->reqdata.keep.bytecount+conn->headerbytecount == 0) &&
conn->bits.reuse &&