Fix for:
CID
1019612 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member before is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member seq is not initialized in
this constructor nor in any functions that it calls.
uninit_member: Non-static class member last_issue is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
struct revoke_info {
__u32 before;
ceph_seq_t seq, last_issue;
- revoke_info() {}
+ revoke_info() : before(0), seq(0), last_issue(0) {}
revoke_info(__u32 b, ceph_seq_t s, ceph_seq_t li) : before(b), seq(s), last_issue(li) {}
void encode(bufferlist& bl) const;
void decode(bufferlist::iterator& bl);