Fix for:
CID
1262114 (#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 acks_wanted is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
}
MOSDRepOp()
- : Message(MSG_OSD_REPOP, HEAD_VERSION, COMPAT_VERSION) { }
+ : Message(MSG_OSD_REPOP, HEAD_VERSION, COMPAT_VERSION),
+ map_epoch(0), acks_wanted (0) {}
MOSDRepOp(osd_reqid_t r, pg_shard_t from,
spg_t p, const hobject_t& po, int aw,
epoch_t mape, ceph_tid_t rtid, eversion_t v)