#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

  • Victor Ananjevsky

    thank you, fixed

     
  • Victor Ananjevsky

    • status: New --> Fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks