From: Danny Al-Gaaf Date: Mon, 13 May 2013 14:02:04 +0000 (+0200) Subject: mon/Monitor.cc: init 'timecheck_acks' with '0' in constructor X-Git-Tag: v0.63~29^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3e446825193a3bdc613445f5e12a58ce70ab7d5f;p=ceph.git mon/Monitor.cc: init 'timecheck_acks' with '0' in constructor CID 1019623 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member "timecheck_acks" 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 284f50685c36..7325bfade6ba 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -150,6 +150,7 @@ Monitor::Monitor(CephContext* cct_, string nm, MonitorDBStore *s, sync_provider(), timecheck_round(0), + timecheck_acks(0), timecheck_event(NULL), probe_timeout_event(NULL),