From 4210131e12de167d4fa3cbfb2c002545707f7c0e Mon Sep 17 00:00:00 2001 From: Patrice Levesque Date: Mon, 7 Mar 2016 10:43:38 -0500 Subject: [PATCH] Initialize highestmodseq to avoid any surprise. Strongly inspired by comment at https://github.com/inverse-inc/sogo/pull/201#discussion-diff-54879796 --- SoObjects/Mailer/SOGoMailFolder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index f66bfb258..f9d443386 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -2245,7 +2245,7 @@ _compareFetchResultsByMODSEQ (id entry1, id entry2, void *data) NSDictionary *d; id fetchResults; - int highestmodseq, i; + int highestmodseq = 0, i; allTokens = [NSMutableArray array];