Fixes the coverity scan report:
CID 717240: Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member bits is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Jos Collin <jcollin@redhat.com>
class EFragment : public LogEvent {
public:
EMetaBlob metablob;
- __u8 op;
+ __u8 op{0};
inodeno_t ino;
frag_t basefrag;
- __s32 bits; // positive for split (from basefrag), negative for merge (to basefrag)
+ __s32 bits{0}; // positive for split (from basefrag), negative for merge (to basefrag)
list<frag_t> orig_frags;
bufferlist rollback;