Fix for:
CID
1262115 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member map_epoch is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member ack_type is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member result is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
result(result_) {
set_tid(req->get_tid());
}
- MOSDRepOpReply() : Message(MSG_OSD_REPOPREPLY) {}
+ MOSDRepOpReply()
+ : Message(MSG_OSD_REPOPREPLY), map_epoch(0),
+ ack_type(0), result(0) {}
private:
~MOSDRepOpReply() {}