Menu

#94 bristolpoly.c:1223: bad if test ?

admin
open
nobody
None
5
2013-06-22
2013-06-22
dcb
No

I just ran static analyser cppcheck over the source code
of bristol-0.60.11

It said

[bristolpoly.c:1223]: (warning) Logical conjunction always evaluates to false: o_act == 1 && o_act == 3.

Suggest replace && with ||

Discussion


Log in to post a comment.

MongoDB Logo MongoDB