diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-05-13 15:37:24 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-05-14 18:39:31 +0200 |
commit | 528ec3533a8cf61457005bc9a5ba556f38564088 (patch) | |
tree | c2ce580394de2f9fadb243ac0008cded984d088b | |
parent | 988363094a83c98d7b7d8b122d02e6d64d91dfa4 (diff) | |
download | ceph-528ec3533a8cf61457005bc9a5ba556f38564088.tar.gz |
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 <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/mon/Monitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/Monitor.h b/src/mon/Monitor.h index 57da2aba539..1443525e9e6 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) { } |