From: Danny Al-Gaaf Date: Wed, 24 Jul 2013 16:18:59 +0000 (+0200) Subject: mon/Monitor.cc: init scrub_version with 0 in constructor X-Git-Tag: v0.67-rc3~61^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=27e38e4068d59cc76b13fb34d52051c29a007833;p=ceph.git mon/Monitor.cc: init scrub_version with 0 in constructor CID 1019623 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member "scrub_version" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 9492f7c91687..bd189f1430ce 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -143,6 +143,7 @@ Monitor::Monitor(CephContext* cct_, string nm, MonitorDBStore *s, elector(this), leader(0), quorum_features(0), + scrub_version(0), // sync state sync_provider_count(0),