diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-05-27 23:29:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-05-27 23:29:15 +0200 |
commit | a7731673d02a80d3ab4b6d3be296daa2807025a8 (patch) | |
tree | e10742773198550d1d287c5cc1380b11cc191dd2 | |
parent | 3124a8df936182a9702e6357486c8f3bcb9a3d67 (diff) |
pop3: remove variable-not-used warnings
-rw-r--r-- | lib/pop3.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/pop3.c b/lib/pop3.c index 2f47fd1a9..12d604043 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -407,15 +407,9 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn, } /* For AUTH responses */ -static CURLcode pop3_state_auth_resp(struct connectdata *conn, - int pop3code, - pop3state instate) +static CURLcode pop3_state_auth_resp(struct connectdata *conn) { CURLcode result = CURLE_OK; - struct SessionHandle *data = conn->data; - struct FTP *pop3 = data->state.proto.pop3; - - (void)instate; /* no use for this yet */ /* Proceed with clear text authentication as we used to for now */ result = pop3_state_user(conn); @@ -588,7 +582,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn) break; case POP3_AUTH: - result = pop3_state_auth_resp(conn, pop3code, pop3c->state); + result = pop3_state_auth_resp(conn); break; case POP3_USER: |