summaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp')
-rw-r--r--src/vpp/stats/stat_segment.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vpp/stats/stat_segment.c b/src/vpp/stats/stat_segment.c
index 9b6b37b934f..793936bf08f 100644
--- a/src/vpp/stats/stat_segment.c
+++ b/src/vpp/stats/stat_segment.c
@@ -115,7 +115,6 @@ vlib_stats_pop_heap (void *cm_arg, void *oldheap, stat_directory_type_t type)
strncpy (e.name, stat_segment_name, 128 - 1);
e.type = type;
vec_add1 (sm->directory_vector, e);
- vector_index++;
}
stat_segment_directory_entry_t *ep = &sm->directory_vector[vector_index];