aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-02-23 19:44:00 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-02-23 19:44:00 +0100
commit539ed6f02ab51083592a463421ae4c4555a740cc (patch)
tree95c31fd6423dce38d4fdcc0f81934977620efcf3 /lib/pop3.c
parente756641040942c4884132e130a287ae755025dd4 (diff)
pop3: fix compiler warning
error: declaration of 'pop3' shadows a previous local
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 43171f768..89934b80a 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1061,11 +1061,9 @@ static CURLcode pop3_command(struct connectdata *conn)
if(pop3->mailbox[0] == '\0' || conn->data->set.ftp_list_only) {
command = "LIST";
- if(pop3->mailbox[0] != '\0') {
+ if(pop3->mailbox[0] != '\0')
/* Message specific LIST so skip the BODY transfer */
- struct POP3 *pop3 = conn->data->state.proto.pop3;
pop3->transfer = FTPTRANSFER_INFO;
- }
}
else
command = "RETR";