CID 717329: Uninitialized scalar field (UNINIT_CTOR)
At (2): Non-static class member "lock_fd" is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Sage Weil <sage@inktank.com>
int write_bl_ss(bufferlist& bl, const char *a, const char *b,
bool append);
public:
- MonitorStore(const std::string &d) : dir(d) { }
+ MonitorStore(const std::string &d) : dir(d), lock_fd(-1) { }
~MonitorStore() { }
int mkfs(); // wipe