yoshimi-1.2.1/src/Misc/Part.cpp:1039:22: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
if (kititem == 0 && kititem >= NUM_KIT_ITEMS)
Suggest swap && for ||
Good catch - this one goes back over 10 years!
Now fixed in the current master branch.
Thanks. You might want to start using flag -Wlogical-op in your development builds.
Log in to post a comment.
Good catch - this one goes back over 10 years!
Now fixed in the current master branch.
Last edit: Will Godfrey 2014-08-07
Thanks. You might want to start using flag -Wlogical-op
in your development builds.