]> git-server-git.apps.pok.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)
committerSage Weil <sage@redhat.com>
Fri, 19 Sep 2014 18:35:02 +0000 (11:35 -0700)
commit1f134bb06fd7141dd51e33db722ae6f664c19e78
tree9b99eb81e27d1612fcd3fc2515b7e564e9517962
parentf2a7d62c23b42c42e11158bea8860c70cab78124
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>
(cherry picked from commit ff6148324ad0957f74e8b4b49c1a1e8df9fb94e4)
src/mds/Beacon.cc
src/mds/Beacon.h