From: Danny Al-Gaaf Date: Thu, 28 Jan 2016 10:29:04 +0000 (+0100) Subject: bluestore/bluestore_types.h: fix UNINIT_CTOR warning X-Git-Tag: v10.0.4~86^2~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=94cd338d9e7e55f82bd703857932a0aebbf300fb;p=ceph.git bluestore/bluestore_types.h: fix UNINIT_CTOR warning Fix for: CID 1322813 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member seq is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/os/bluestore/bluestore_types.h b/src/os/bluestore/bluestore_types.h index c07412dab72a..ceb403a08ae9 100644 --- a/src/os/bluestore/bluestore_types.h +++ b/src/os/bluestore/bluestore_types.h @@ -285,7 +285,7 @@ struct bluestore_wal_transaction_t { int64_t _bytes; ///< cached byte count - bluestore_wal_transaction_t() : _bytes(-1) {} + bluestore_wal_transaction_t() : seq(0), _bytes(-1) {} #if 0 no users for htis