[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XForms] xforms-1.0.94pre17/lib/counter.c::525: possible bad if test ?
From: |
David Binderman |
Subject: |
[XForms] xforms-1.0.94pre17/lib/counter.c::525: possible bad if test ? |
Date: |
Thu, 31 Oct 2013 08:00:39 +0000 |
Hello there,
I just compiled xforms-1.0.94pre17 with extra Linux gcc compiler flag
-Wlogical-op
It said
counter.c:525:5: warning: logical 'and' of mutually exclusive tests is always
false [-Wlogical-op]
Source code is
if ( ob->bw == FL_BOUND_WIDTH && ob->bw == 3 )
Suggest code rework.
Regards
David Binderman
- [XForms] xforms-1.0.94pre17/lib/counter.c::525: possible bad if test ?,
David Binderman <=