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