mirror of
https://github.com/curl/curl.git
synced 2025-02-23 15:10:03 +08:00
pop3: remove variable-not-used warnings
This commit is contained in:
parent
3124a8df93
commit
a7731673d0
10
lib/pop3.c
10
lib/pop3.c
@ -407,15 +407,9 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* For AUTH responses */
|
/* For AUTH responses */
|
||||||
static CURLcode pop3_state_auth_resp(struct connectdata *conn,
|
static CURLcode pop3_state_auth_resp(struct connectdata *conn)
|
||||||
int pop3code,
|
|
||||||
pop3state instate)
|
|
||||||
{
|
{
|
||||||
CURLcode result = CURLE_OK;
|
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 */
|
/* Proceed with clear text authentication as we used to for now */
|
||||||
result = pop3_state_user(conn);
|
result = pop3_state_user(conn);
|
||||||
@ -588,7 +582,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case POP3_AUTH:
|
case POP3_AUTH:
|
||||||
result = pop3_state_auth_resp(conn, pop3code, pop3c->state);
|
result = pop3_state_auth_resp(conn);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case POP3_USER:
|
case POP3_USER:
|
||||||
|
Loading…
Reference in New Issue
Block a user