From: Teemu Huovila Date: Wed, 7 May 2014 17:18:39 +0000 (+0300) Subject: pop3: Remove dead assignment detected by scan-build. X-Git-Tag: 2.2.13.rc1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8208398b7fc13d294d3311fe93ac8f0c68ed9458;p=thirdparty%2Fdovecot%2Fcore.git pop3: Remove dead assignment detected by scan-build. --- diff --git a/src/pop3/pop3-commands.c b/src/pop3/pop3-commands.c index 5bc60ef089..07bfa2ed1a 100644 --- a/src/pop3/pop3-commands.c +++ b/src/pop3/pop3-commands.c @@ -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);