aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-12-02 08:43:40 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-02 15:56:32 +0000
commit143faaa3459b1a0c36524c76ce94560032723a86 (patch)
tree3d56c43ccb9c109ae0c8048e57b17360af58d218 /vpp-api-test/vat
parent4933168df31b88c24f03b467cae81a06b784813d (diff)
Coverity warning be gone, VPP-486
Change-Id: I72dc2eca558b4a28ade75f0a6d91840b48630543 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp-api-test/vat')
-rw-r--r--vpp-api-test/vat/api_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 2925c9bf26e..0bbed5c49c7 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -5639,7 +5639,8 @@ api_tap_connect (vat_main_t * vam)
random_mac = 1;
else if (unformat (i, "tapname %s", &tap_name))
name_set = 1;
- else if (unformat (i, "tag %s", &tag));
+ else if (unformat (i, "tag %s", &tag))
+ ;
else
break;
}
@@ -5661,7 +5662,6 @@ api_tap_connect (vat_main_t * vam)
errmsg ("tag too long\n");
return -99;
}
- vec_add1 (tag, 0);
/* Construct the API message */
M (TAP_CONNECT, tap_connect);