summaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-11-22 15:23:41 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-22 21:25:47 +0000
commit7afe9e38269a30682a5e392b0e876e18d1465c31 (patch)
tree8d627653a17e8a1c651975c77f568f4ff4d69b0e /vlib
parentd28bc62a726c51bcfb9b90a6dd381b4727421004 (diff)
Fix coverity warnings, VPP-486
Change-Id: I4ec49e116fdb418ebf9d84000f2a0cec1cf78b14 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/threads_cli.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vlib/vlib/threads_cli.c b/vlib/vlib/threads_cli.c
index aef67576751..6651a4dd671 100644
--- a/vlib/vlib/threads_cli.c
+++ b/vlib/vlib/threads_cli.c
@@ -444,9 +444,9 @@ test_frame_queue_nelts (vlib_main_t * vm, unformat_input_t * input,
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{
- if (unformat (line_input, "nelts %u"), &nelts)
+ if (unformat (line_input, "nelts %u", &nelts))
;
- else if (unformat (line_input, "index %u"), &index)
+ else if (unformat (line_input, "index %u", &index))
;
else
return clib_error_return (0, "parse error: '%U'",
@@ -511,9 +511,9 @@ test_frame_queue_threshold (vlib_main_t * vm, unformat_input_t * input,
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{
- if (unformat (line_input, "threshold %u"), &threshold)
+ if (unformat (line_input, "threshold %u", &threshold))
;
- else if (unformat (line_input, "index %u"), &index)
+ else if (unformat (line_input, "index %u", &index))
;
else
return clib_error_return (0, "parse error: '%U'",