imap: fix compiler warning
error: declaration of 'imap' shadows a previous local
This commit is contained in:
@@ -1610,7 +1610,6 @@ static CURLcode imap_perform(struct connectdata *conn, bool *connected,
|
|||||||
|
|
||||||
if(conn->data->set.opt_no_body) {
|
if(conn->data->set.opt_no_body) {
|
||||||
/* Requested no body means no transfer */
|
/* Requested no body means no transfer */
|
||||||
struct IMAP *imap = conn->data->state.proto.imap;
|
|
||||||
imap->transfer = FTPTRANSFER_INFO;
|
imap->transfer = FTPTRANSFER_INFO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user