aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-28 07:31:41 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-28 07:31:41 +0000
commit17f032c0d9ba09e1e5a2f8682d3dc98d234a1811 (patch)
treea5c383a9772dd5dc2bc890b0f26602497605a938 /lib
parentad3177da24b88fc0def4929295195779771dd031 (diff)
imap: fix compiler warning
error: declaration of 'imap' shadows a previous local
Diffstat (limited to 'lib')
-rw-r--r--lib/imap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 78e3f0409..7adc5a0bb 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -1610,7 +1610,6 @@ static CURLcode imap_perform(struct connectdata *conn, bool *connected,
if(conn->data->set.opt_no_body) {
/* Requested no body means no transfer */
- struct IMAP *imap = conn->data->state.proto.imap;
imap->transfer = FTPTRANSFER_INFO;
}