git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b66c229
)
test/cmdline: fix missing break in switch
author
Bruce Richardson
<bruce.richardson@intel.com>
Thu, 4 May 2017 15:38:21 +0000
(16:38 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 5 May 2017 16:36:55 +0000
(18:36 +0200)
Issue flagged by GCC 7 as a switch fall-through.
Fixes:
dbb860e03eb1
("cmdline: tests")
CC: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
test/test/test_cmdline_num.c
patch
|
blob
|
history
diff --git
a/test/test/test_cmdline_num.c
b/test/test/test_cmdline_num.c
index
04263d3
..
e8f60cf
100644
(file)
--- 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;