summaryrefslogtreecommitdiff
path: root/src/osd/OSD.cc
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-09 09:44:20 -0700
committerSage Weil <sage@inktank.com>2013-05-09 10:49:00 -0700
commite30a03210c3efb768b1653df5ae58917ef26e579 (patch)
tree23f91a9a207fcc8f7eddd8e7e195be15c6b53a00 /src/osd/OSD.cc
parent72b5629a7ce808bd26685684a9e266ba6d5a7cc8 (diff)
downloadceph-e30a03210c3efb768b1653df5ae58917ef26e579.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>
Diffstat (limited to 'src/osd/OSD.cc')
-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 d27a3b51a3c..e97dec21f44 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -905,6 +905,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"),