Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#234 list.c:398: bad if test ?

Fixed
nobody
None
High
Defect
2014-07-22
2014-07-21
dcb
No

list.c:398:41: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]

Source code is

  if (col->type != YAD_COLUMN_CHECK || col->type != YAD_COLUMN_IMAGE)

Suggest swap || for &&

Discussion

  • thank you, fixed

     
    • status: New --> Fixed