summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-09 09:44:20 -0700
committerSage Weil <sage@inktank.com>2013-06-21 09:35:14 -0700
commit50957772c3582290331f69ba4a985b1cdf86834d (patch)
treec7ff66e8a818fd200e911ce9efcfcc80bb9137b2
parent17d2745f095e7bb640dece611d7824d370ea3b81 (diff)
downloadceph-50957772c3582290331f69ba4a985b1cdf86834d.tar.gz
osd: init test_ops_hook
CID 1019628 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR) 2. uninit_member: Non-static class member "test_ops_hook" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Sage Weil <sage@inktank.com> (cherry picked from commit e30a03210c3efb768b1653df5ae58917ef26e579)
-rw-r--r--src/osd/OSD.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc
index 6705428cab7..7ed62c772e4 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -906,6 +906,7 @@ OSD::OSD(int id, Messenger *internal_messenger, Messenger *external_messenger,
heartbeat_dispatcher(this),
stat_lock("OSD::stat_lock"),
finished_lock("OSD::finished_lock"),
+ test_ops_hook(NULL),
op_wq(this, g_conf->osd_op_thread_timeout, &op_tp),
peering_wq(this, g_conf->osd_op_thread_timeout, &op_tp, 200),
map_lock("OSD::map_lock"),