object store notification mgr: fix using uninitialized variables (#3592)

Initialize private class variables to avoid valgrind errors. They are used before initialization.
This commit is contained in:
Alexey Tumanov
2018-12-22 19:51:22 -08:00
committed by Robert Nishihara
parent e578a38116
commit bada42c334
@@ -67,9 +67,9 @@ class ObjectStoreNotificationManager {
plasma::PlasmaClient store_client_;
int c_socket_;
int64_t length_;
int64_t num_adds_processed_;
int64_t num_removes_processed_;
int64_t length_ = 0;
int64_t num_adds_processed_ = 0;
int64_t num_removes_processed_ = 0;
std::vector<uint8_t> notification_;
boost::asio::local::stream_protocol::socket socket_;
};