From: Sage Weil Date: Thu, 9 May 2013 16:44:20 +0000 (-0700) Subject: osd: init test_ops_hook X-Git-Tag: v0.63~49^2^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e30a03210c3efb768b1653df5ae58917ef26e579;p=ceph.git 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 --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index d27a3b51a3c3..e97dec21f44c 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"),