]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
pop3c: Compiler warning fixes to earlier change
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 2 Feb 2016 10:32:49 +0000 (12:32 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 2 Feb 2016 10:32:49 +0000 (12:32 +0200)
src/lib-storage/index/pop3c/pop3c-mail.c

index f1ac6ce834624394f3465529bdfec486bf027b64..04350e5869ae1622d06ddbd32af3c725090904f8 100644 (file)
@@ -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: