From: Danny Al-Gaaf Date: Mon, 13 May 2013 13:37:24 +0000 (+0200) Subject: mon/Monitor.h: init 'crc' in constructor with '0' X-Git-Tag: v0.63~29^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=528ec3533a8cf61457005bc9a5ba556f38564088;p=ceph.git mon/Monitor.h: init 'crc' in constructor with '0' CID 1019624 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member "crc" 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.h b/src/mon/Monitor.h index 57da2aba539c..1443525e9e68 100644 --- a/src/mon/Monitor.h +++ b/src/mon/Monitor.h @@ -548,6 +548,7 @@ private: version(0), timeout(NULL), sync_state(STATE_NONE), + crc(0), crc_available(false), attempts(0) { }