7 Feb
2009
7 Feb
'09
8:47 a.m.
On February 5, 2009 9:59:10 PM +0100 Peter Lindgren peter@norrskenkonsult.com wrote:
maildir-sync-index.c:295: warning: `j' might be used uninitialized in this function
In function maildir_sync_mail_keywords, j is assumed to be initialized to 0 I think. It is used in line 339 in the for statement. Changing to for (i = j = 0; removed this warning, and removed my doubts :-)
Should be for (i = (j = 0);
a = b = ... is not legal, although gcc does accept it.
-frank