Menu

#179 gen.c:1165: possible wrong operator ?

not reproducible
open
nobody
None
5
2014-10-09
2014-10-09
dcb
No

[gen.c:1165]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.

if (!noneHaveContext & !allHaveContext) {

Maybe

if (!noneHaveContext && !allHaveContext) {

was intended.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB