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:
Bruce Richardson 2017-05-04 16:38:21 +01:00 committed by Thomas Monjalon
parent b66c229db2
commit f4e6ff881f

View File

@ -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;