CID 717250: Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member cmapv is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member inotablev is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Jos Collin <jcollin@redhat.com>
protected:
entity_inst_t client_inst;
bool open; // open or close
- version_t cmapv; // client map version
+ version_t cmapv{0}; // client map version
interval_set<inodeno_t> inos;
- version_t inotablev;
+ version_t inotablev{0};
// Client metadata stored during open
std::map<std::string, std::string> client_metadata;