From: Sage Weil Date: Fri, 28 Sep 2012 00:48:26 +0000 (-0700) Subject: LogEntry: init in ctor X-Git-Tag: v0.54~187^2~42 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8d4e6e2a4c9bac26eaa621f153ea6fdce876a5fd;p=ceph.git LogEntry: init in ctor Signed-off-by: Sage Weil --- diff --git a/src/common/LogEntry.h b/src/common/LogEntry.h index 160d0d002941..cea680130169 100644 --- a/src/common/LogEntry.h +++ b/src/common/LogEntry.h @@ -43,7 +43,7 @@ struct LogEntryKey { utime_t stamp; uint64_t seq; - LogEntryKey() {} + LogEntryKey() : seq(0) {} LogEntryKey(const entity_inst_t& w, utime_t t, uint64_t s) : who(w), stamp(t), seq(s) {} void encode(bufferlist& bl) const;