Fix for:
CID
1274321 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member perr is not initialized in
this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
map<string, bufferlist> *attrs;
struct rgw_err *perr;
- Params() : lastmod(NULL), read_size(NULL), obj_size(NULL), attrs(NULL) {}
+ Params() : lastmod(NULL), read_size(NULL), obj_size(NULL), attrs(NULL), perr(NULL) {}
} params;
Read(RGWRados::Object *_source) : source(_source) {}