]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/Beacon.*: fix UNINIT_CTOR cases
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 17 Sep 2014 17:31:13 +0000 (19:31 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 19 Sep 2014 16:31:53 +0000 (18:31 +0200)
commitff6148324ad0957f74e8b4b49c1a1e8df9fb94e4
treee717a50763e0825541575e1e13cd7d5d99af563b
parentea02dc37dc92613d2d35b9572e72c3b9ab6bbb69
mds/Beacon.*: fix UNINIT_CTOR cases

CID 1238905 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
 uninit_member: Non-static class member want_state is not initialized
  in this constructor nor in any functions that it calls.
 uninit_member: Non-static class member last_send is not initialized
  in this constructor nor in any functions that it calls.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mds/Beacon.cc
src/mds/Beacon.h