CID 717342: Uninitialized scalar field (UNINIT_CTOR)At (2): Non-static class
member "has_checksums" is not initialized in this constructor nor in any
functions that it calls.
Signed-off-by: Samuel Just <sam.just@inktank.com>
uint64_t zero_to; // first non-zeroed byte of log.
bool has_checksums;
- OndiskLog() : tail(0), head(0), zero_to(0) {}
+ OndiskLog() : tail(0), head(0), zero_to(0),
+ has_checksums(true) {}
uint64_t length() { return head - tail; }
bool trim_to(eversion_t v, ObjectStore::Transaction& t);