fix compiler-found (but trivial) error

debian's new compiler rocks. Effected only test code I never use, but
still nice to fix.
This commit is contained in:
Eric House 2017-10-07 08:03:18 -07:00
parent c9a86a23e0
commit 2cabf2332c

View file

@ -1577,7 +1577,7 @@ parsePair( const char* optarg, XP_U16* min, XP_U16* max )
} else {
int intmin, intmax;
if ( 2 == sscanf( optarg, "%d:%d", &intmin, &intmax ) ) {
if ( intmin <= intmin ) {
if ( intmin <= intmax ) {
*min = intmin;
*max = intmax;
success = true;