summaryrefslogtreecommitdiffstats
path: root/src/vnet/classify
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-06-07 08:32:51 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-06-07 13:55:38 +0000
commit48113e0c864fd18d9fa65eda950aa363b813bb15 (patch)
tree7bcf7eb3df29d326fe2d27487030318d0afb1167 /src/vnet/classify
parent6295d50b37ded4a335058722545dd5310202b8c0 (diff)
VPP-874: fix coverity warning in vnet_classify.c
Change-Id: Icffd2862eadbe9ddfb3ee34f3cb19c9324b3d9b4 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/classify')
-rw-r--r--src/vnet/classify/vnet_classify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/classify/vnet_classify.c b/src/vnet/classify/vnet_classify.c
index 99b10dc295c..879fba3c6d9 100644
--- a/src/vnet/classify/vnet_classify.c
+++ b/src/vnet/classify/vnet_classify.c
@@ -405,7 +405,7 @@ int vnet_classify_add_del (vnet_classify_table_t * t,
u32 old_log2_pages, new_log2_pages;
u32 thread_index = vlib_get_thread_index();
u8 * key_minus_skip;
- int resplit_once;
+ int resplit_once = 0;
int mark_bucket_linear;
ASSERT ((add_v->flags & VNET_CLASSIFY_ENTRY_FREE) == 0);