On Sun, Nov 30, 2008 at 8:49 PM, Johannes Simon <johannes.simon@gmail.com> wrote:
On Sunday 30 November 2008 01:25:16 Magnus Lundborg wrote:
> This patch fixes six compilation warnings about missing parentheses in
> if statements.

Hi,

Are you sure that "a && (b || c)" is equivalent to "a && b || c"? As far as I
know, it is not ;) But parantheses should be added either way, to make it
clearer.

Right && has a higher priority than ||. So the patch is wrong in some cases. :D
 


- Johannes
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel