summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-06-23 13:12:59 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-06-23 13:12:59 -0700
commitad6406726f00ebb12c4d1fc7ea31b0bd4300b1ab (patch)
treee1013476abf196282085c3aa443e4435549273d1
parentb09d799f2c122a4c455f84f1bfcefe6e58b70b2f (diff)
downloadceph-ad6406726f00ebb12c4d1fc7ea31b0bd4300b1ab.tar.gz
rgw: init member variable
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h
index a3e3cf5472d..b0dd295e2bd 100644
--- a/src/rgw/rgw_common.h
+++ b/src/rgw/rgw_common.h
@@ -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);