aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfmon
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-10-23 18:05:25 -0400
committerFlorin Coras <florin.coras@gmail.com>2018-10-23 23:41:01 +0000
commit5a951bfe32d47af4409ecab5678d1afecc05e2b7 (patch)
tree97e127d2db9bf94a9ed374322d859b980c7c2d17 /src/plugins/perfmon
parent8e8d3c8c118a9411b1f8959a0aa545fd7bff5406 (diff)
VPP-1474: fix coverity warning
Change-Id: I20f2fb14e00f3e7e96774959a4bf1a159ab9030f Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/perfmon')
-rw-r--r--src/plugins/perfmon/parse_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/perfmon/parse_util.c b/src/plugins/perfmon/parse_util.c
index 436acaa6de0..9ffaa326fdc 100644
--- a/src/plugins/perfmon/parse_util.c
+++ b/src/plugins/perfmon/parse_util.c
@@ -140,6 +140,9 @@ again:
cp++;
goto again;
}
+ else /* should never happen... */
+ cp++;
+ goto again;
case STATE_READ_NAME:
vec_validate (nvp, 0);