mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
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:
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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user