From: Bruce Richardson Date: Thu, 4 May 2017 15:38:21 +0000 (+0100) Subject: test/cmdline: fix missing break in switch X-Git-Tag: spdx-start~3258 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f4e6ff881ffcdd1178550fc26a6343bbc8d36530;p=dpdk.git test/cmdline: fix missing break in switch Issue flagged by GCC 7 as a switch fall-through. Fixes: dbb860e03eb1 ("cmdline: tests") CC: stable@dpdk.org Signed-off-by: Bruce Richardson --- diff --git a/test/test/test_cmdline_num.c b/test/test/test_cmdline_num.c index 04263d39e9..e8f60cfaf3 100644 --- a/test/test/test_cmdline_num.c +++ b/test/test/test_cmdline_num.c @@ -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;