imap: fix compiler warning

imap.c:694:21: error: unused variable 'imapc' [-Werror=unused-variable]
This commit is contained in:
Daniel Stenberg 2013-03-06 08:28:05 +01:00
parent 198012ee13
commit fa9748df11

View File

@ -691,7 +691,6 @@ static CURLcode imap_list(struct connectdata *conn)
CURLcode result = CURLE_OK; CURLcode result = CURLE_OK;
struct SessionHandle *data = conn->data; struct SessionHandle *data = conn->data;
struct IMAP *imap = data->state.proto.imap; struct IMAP *imap = data->state.proto.imap;
struct imap_conn *imapc = &conn->proto.imapc;
char *mailbox; char *mailbox;
/* Make sure the mailbox is in the correct atom format */ /* Make sure the mailbox is in the correct atom format */