[Dovecot] v1.1.11 released

Frank Cusack fcusack at fcusack.com
Sat Feb 7 08:47:47 EET 2009


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


More information about the dovecot mailing list