From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 09/10] test/test: fix missing break in switch Date: Thu, 4 May 2017 16:38:21 +0100 Message-ID: <20170504153822.19461-10-bruce.richardson@intel.com> References: <20170504153822.19461-1-bruce.richardson@intel.com> Cc: Bruce Richardson , stable@dpdk.org To: dev@dpdk.org Return-path: In-Reply-To: <20170504153822.19461-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Issue flagged by GCC 7 as a switch fall-through. Fixes: dbb860e03eb1 ("cmdline: tests") CC: stable@dpdk.org Signed-off-by: Bruce Richardson --- test/test/test_cmdline_num.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test/test_cmdline_num.c b/test/test/test_cmdline_num.c index 04263d3..e8f60cf 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; -- 2.9.3