]> granicus.if.org Git - curl/commitdiff
imap: fix compiler warning
authorSteve Holme <steve_holme@hotmail.com>
Thu, 28 Feb 2013 07:31:41 +0000 (07:31 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 28 Feb 2013 07:31:41 +0000 (07:31 +0000)
error: declaration of 'imap' shadows a previous local

lib/imap.c

index 78e3f0409ec258c64dfa775a9d7824c6b5a19900..7adc5a0bb472f4aa05aeb7a0d23be2ff5c9ca2bf 100644 (file)
@@ -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;
   }