Comment 0 for bug 1033213

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Found by -Wlogical-op:
/home/arch/widelands/src/network/nethost.cc:1704:2: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op]

Since or is used, the assertion is always true. Use 'and' instead?

PS. I'm experimenting a bit with additional warning options. More on this later.