Open dcb314 opened 8 years ago
net/UpperDistributor_admin.c:43]: (warning) Logical conjunction always evaluates to false: EXPR < 1 && EXPR > 65536.
Source code is
if (udpPort < 1 && udpPort > 65536) {
Maybe better code
if (udpPort < 1 || udpPort > 65536) {
Thanks for the report!
net/UpperDistributor_admin.c:43]: (warning) Logical conjunction always evaluates to false: EXPR < 1 && EXPR > 65536.
Source code is
if (udpPort < 1 && udpPort > 65536) {
Maybe better code
if (udpPort < 1 || udpPort > 65536) {