On February 5, 2009 9:59:10 PM +0100 Peter Lindgren <pe...@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

Reply via email to