osd/OpRequest.h: uninit vars in ctor OpRequest

At (2): Non-static class member "hit_flag_points" is not initialized in this
constructor nor in any functions that it calls.  CID 717338: Uninitialized
scalar field (UNINIT_CTOR)At (4): Non-static class
member "latest_flag_point" is not initialized in this constructor nor in any
functions that it calls.

Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Samuel Just 2012-08-29 16:25:20 -07:00 committed by Sage Weil
parent d41c253bea
commit 9a93eb3295

View File

@ -114,6 +114,7 @@ private:
warn_interval_multiplier(1),
lock("OpRequest::lock"),
tracker(tracker),
hit_flag_points(0), latest_flag_point(0),
seq(0) {
received_time = request->get_recv_stamp();
tracker->register_inflight_op(&xitem);