Fix for:
CID
1353420 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized in
this constructor nor in any functions that it calls.
CID
1353421 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized
in this constructor nor in any functions that it calls.
CID
1353427 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member cct is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member store is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
int use_default(bool old_format = false);
public:
- RGWSystemMetaObj() {}
- RGWSystemMetaObj(const string& _name): name(_name) {}
- RGWSystemMetaObj(const string& _id, const string& _name) : id(_id), name(_name) {}
+ RGWSystemMetaObj() : cct(NULL), store(NULL) {}
+ RGWSystemMetaObj(const string& _name): name(_name), cct(NULL), store(NULL) {}
+ RGWSystemMetaObj(const string& _id, const string& _name) : id(_id), name(_name), cct(NULL), store(NULL) {}
RGWSystemMetaObj(CephContext *_cct, RGWRados *_store): cct(_cct), store(_store){}
RGWSystemMetaObj(const string& _name, CephContext *_cct, RGWRados *_store): name(_name), cct(_cct), store(_store){}
const string& get_name() const { return name; }