From: Timo Sirainen Date: Tue, 2 Feb 2016 10:32:49 +0000 (+0200) Subject: pop3c: Compiler warning fixes to earlier change X-Git-Tag: 2.2.22.rc1~221 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f8d497e88fae77fbeb625246bc18260f6775b83;p=thirdparty%2Fdovecot%2Fcore.git pop3c: Compiler warning fixes to earlier change --- diff --git a/src/lib-storage/index/pop3c/pop3c-mail.c b/src/lib-storage/index/pop3c/pop3c-mail.c index f1ac6ce834..04350e5869 100644 --- a/src/lib-storage/index/pop3c/pop3c-mail.c +++ b/src/lib-storage/index/pop3c/pop3c-mail.c @@ -129,12 +129,11 @@ static void pop3c_mail_cache_size(struct index_mail *mail) } } -static void pop3c_mail_prefetch_done(enum pop3c_command_state state, - const char *reply, void *context) +static void +pop3c_mail_prefetch_done(enum pop3c_command_state state, + const char *reply ATTR_UNUSED, void *context) { struct pop3c_mail *pmail = context; - struct mail *_mail = &pmail->imail.mail.mail; - const char *cmd; switch (state) { case POP3C_COMMAND_STATE_OK: