]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: initialize sent_header in RGWOp_Opstate_List
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 28 Jun 2013 21:47:43 +0000 (14:47 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 28 Jun 2013 21:47:43 +0000 (14:47 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_rest_opstate.h

index 0d069e0c9c0c99d80d2c76a83ab17a8f4470f854..8f6a9675a68d3e96d6eefb0091cf63c90d3e7f82 100644 (file)
@@ -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) {