summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-05-13 16:02:04 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-05-14 18:39:31 +0200
commit3e446825193a3bdc613445f5e12a58ce70ab7d5f (patch)
treefb208e6b2210054d870d78efd862594f44ce37ed
parent528ec3533a8cf61457005bc9a5ba556f38564088 (diff)
downloadceph-3e446825193a3bdc613445f5e12a58ce70ab7d5f.tar.gz
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 <danny.al-gaaf@bisect.de>
-rw-r--r--src/mon/Monitor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc
index 284f50685c3..7325bfade6b 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),