summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-06-28 14:47:43 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-06-28 14:47:43 -0700
commite56ef07eb1f1ff76d1a733cfbef0dc5e9c5e364f (patch)
treecdb30a0ce83dfd110c3fb7643b538c926189a2f4
parente75057fc2cc833176060e5fcb5d305b4ee66734f (diff)
downloadceph-e56ef07eb1f1ff76d1a733cfbef0dc5e9c5e364f.tar.gz
rgw: initialize sent_header in RGWOp_Opstate_List
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_rest_opstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_rest_opstate.h b/src/rgw/rgw_rest_opstate.h
index 0d069e0c9c0..8f6a9675a68 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) {