mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
paxos: init vars in ctr
At (2): Non-static class member "latest_stashed" is not initialized in this constructor nor in any functions that it calls. At (4): Non-static class member "num_last" is not initialized in this constructor nor in any functions that it calls. At (6): Non-static class member "uncommitted_v" is not initialized in this constructor nor in any functions that it calls. CID 717330: Uninitialized scalar field (UNINIT_CTOR) At (8): Non-static class member "uncommitted_pn" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
ea078e1872
commit
89add0f770
@ -842,6 +842,9 @@ public:
|
||||
accepted_pn(0),
|
||||
accepted_pn_from(0),
|
||||
slurping(0),
|
||||
latest_stashed(0),
|
||||
num_last(0),
|
||||
uncommitted_v(0), uncommitted_pn(0),
|
||||
collect_timeout_event(0),
|
||||
lease_renew_event(0),
|
||||
lease_ack_timeout_event(0),
|
||||
|
Loading…
Reference in New Issue
Block a user