]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: init member variable
authorYehuda Sadeh <yehuda@inktank.com>
Sun, 23 Jun 2013 20:12:59 +0000 (13:12 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Sun, 23 Jun 2013 20:12:59 +0000 (13:12 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_common.h

index a3e3cf5472d867a168657a2aed1c047d8c8acc77..b0dd295e2bdeb413c46e01018a6d8f38be2bd5c2 100644 (file)
@@ -653,6 +653,8 @@ struct RGWBucketEntryPoint
   bool has_bucket_info;
   RGWBucketInfo old_bucket_info;
 
+  RGWBucketEntryPoint() : has_bucket_info(false) {}
+
   void encode(bufferlist& bl) const {
     ENCODE_START(8, 8, bl);
     ::encode(bucket, bl);