Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix coverity warnings in VOM and VAPI
[vpp.git]
/
src
/
vpp-api
/
vom
/
hw.hpp
diff --git
a/src/vpp-api/vom/hw.hpp
b/src/vpp-api/vom/hw.hpp
index
00ab2d6
..
ef34a4c
100644
(file)
--- a/
src/vpp-api/vom/hw.hpp
+++ b/
src/vpp-api/vom/hw.hpp
@@
-54,7
+54,8
@@
public:
* Constructor
*/
item()
- : item_rc(rc_t::UNSET)
+ : item_data()
+ , item_rc(rc_t::UNSET)
{
}
@@
-62,7
+63,8
@@
public:
* Constructor
*/
item(rc_t rc)
- : item_rc(rc)
+ : item_data()
+ , item_rc(rc)
{
}