test/cmdline: fix missing break in switch
Issue flagged by GCC 7 as a switch fall-through.
Fixes: dbb860e03e
("cmdline: tests")
CC: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
b66c229db2
commit
f4e6ff881f
@ -315,6 +315,7 @@ can_parse_signed(int64_t expected_result, enum cmdline_numtype type)
|
||||
case UINT64:
|
||||
if (expected_result < 0)
|
||||
return 0;
|
||||
break;
|
||||
case INT8:
|
||||
if (expected_result > INT8_MAX || expected_result < INT8_MIN)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user