CID 717345: Uninitialized pointer field (UNINIT_CTOR)At (8): Non-static class
member "obc" is not initialized in this constructor nor in any functions that
it calls.
At (2): Non-static class member "id" is not initialized in this constructor nor
in any functions that it calls.
At (4): Non-static class member "reply" is not
initialized in this constructor nor in any functions that it calls.
At (6): Non-static class member "timeout" is not initialized in this
constructor nor in any functions that it calls.
Signed-off-by: Samuel Just <sam.just@inktank.com>
watchers[name] = state;
}
- Notification(entity_name_t& n, OSD::Session *s, uint64_t c, bufferlist& b) : name(n), session(s), cookie(c), bl(b) { }
+ Notification(entity_name_t& n, OSD::Session *s, uint64_t c, bufferlist& b)
+ : name(n), id(0), session(s), cookie(c), reply(0), timeout(0),
+ obc(0), bl(b) { }
};
class C_NotifyTimeout : public Context {