remove apparently pointless resetting of recent message count

past this point, it's not used for anything anyway.
This commit is contained in:
Oswald Buddenhagen 2014-04-12 19:00:33 +02:00
parent 532d964aea
commit 8844ff3063

View File

@ -1056,7 +1056,6 @@ maildir_rescan( maildir_store_t *ctx )
if (maildir_scan( ctx, &msglist ) != DRV_OK) if (maildir_scan( ctx, &msglist ) != DRV_OK)
return DRV_BOX_BAD; return DRV_BOX_BAD;
ctx->gen.recent = 0;
for (msgapp = &ctx->gen.msgs, i = 0; for (msgapp = &ctx->gen.msgs, i = 0;
(msg = (maildir_message_t *)*msgapp) || i < msglist.nents; ) (msg = (maildir_message_t *)*msgapp) || i < msglist.nents; )
{ {