vidalia-0.2.20: 2 * bad if test ?
I just compiled vidalia-0.2.20 with extra gcc compiler flag -Wlogical-op
It said
vidalia-0.2.20/src/torcontrol/Circuit.cpp:82:17: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
Source code is
if (c < '0' && c > '9' && c < 'A' && c > 'Z' && c < 'a' && c > 'z')
Suggest swap && for ||
vidalia-0.2.20/src/torcontrol/Stream.cpp:92:17: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
Duplicate.
Trac:
Username: dcb