]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
pop3: Remove dead assignment detected by scan-build.
authorTeemu Huovila <teemu.huovila@dovecot.fi>
Wed, 7 May 2014 17:18:39 +0000 (20:18 +0300)
committerTeemu Huovila <teemu.huovila@dovecot.fi>
Wed, 7 May 2014 17:18:39 +0000 (20:18 +0300)
src/pop3/pop3-commands.c

index 5bc60ef08904f5599923c0c267c6cc875e3569b4..07bfa2ed1ab7ef128a281e707307e31a9025b73f 100644 (file)
@@ -269,7 +269,6 @@ bool client_update_mails(struct client *client)
        ctx = mailbox_search_init(client->trans, search_args, NULL, 0, NULL);
        mail_search_args_unref(&search_args);
 
-       msgnum = 0;
        while (mailbox_search_next(ctx, &mail)) {
                if (seq_range_exists(&deleted_msgs, mail->seq))
                        client_expunge(client, mail);