From 3e446825193a3bdc613445f5e12a58ce70ab7d5f Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Mon, 13 May 2013 16:02:04 +0200 Subject: [PATCH] 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 --- src/mon/Monitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 284f50685c36d..7325bfade6ba6 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), -- 2.39.5