From e56ef07eb1f1ff76d1a733cfbef0dc5e9c5e364f Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 28 Jun 2013 14:47:43 -0700 Subject: [PATCH] rgw: initialize sent_header in RGWOp_Opstate_List Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_rest_opstate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_rest_opstate.h b/src/rgw/rgw_rest_opstate.h index 0d069e0c9c0c9..8f6a9675a68d3 100644 --- a/src/rgw/rgw_rest_opstate.h +++ b/src/rgw/rgw_rest_opstate.h @@ -17,7 +17,7 @@ class RGWOp_Opstate_List : public RGWRESTOp { bool sent_header; public: - RGWOp_Opstate_List() {} + RGWOp_Opstate_List() : sent_header(false) {} ~RGWOp_Opstate_List() {} int check_caps(RGWUserCaps& caps) { -- 2.39.5