Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
stats: fix state counter removal
[vpp.git]
/
extras
/
vom
/
vom
/
stat_reader.cpp
diff --git
a/extras/vom/vom/stat_reader.cpp
b/extras/vom/vom/stat_reader.cpp
index
0edbc70
..
50a25d2
100644
(file)
--- a/
extras/vom/vom/stat_reader.cpp
+++ b/
extras/vom/vom/stat_reader.cpp
@@
-22,17
+22,13
@@
stat_reader::stat_indexes_t stat_reader::m_stat_itf_indexes;
stat_reader::stat_reader()
: m_client()
stat_reader::stat_reader()
: m_client()
-{
-}
+{}
stat_reader::stat_reader(stat_client sc)
: m_client(sc)
stat_reader::stat_reader(stat_client sc)
: m_client(sc)
-{
-}
+{}
-stat_reader::~stat_reader()
-{
-}
+stat_reader::~stat_reader() {}
int
stat_reader::connect()
int
stat_reader::connect()
@@
-80,6
+76,7
@@
stat_reader::read()
case STAT_DIR_TYPE_SCALAR_INDEX:
case STAT_DIR_TYPE_NAME_VECTOR:
case STAT_DIR_TYPE_ILLEGAL:
case STAT_DIR_TYPE_SCALAR_INDEX:
case STAT_DIR_TYPE_NAME_VECTOR:
case STAT_DIR_TYPE_ILLEGAL:
+ case STAT_DIR_TYPE_EMPTY:
break;
case STAT_DIR_TYPE_COUNTER_VECTOR_SIMPLE: {
break;
case STAT_DIR_TYPE_COUNTER_VECTOR_SIMPLE: {