From 33dc07cc7afffa4acab0d6903bb0b1631c5f5519 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 12 Jan 2015 14:38:58 -0800 Subject: [PATCH] rgw: initialize RGWBucketInfo::num_shards Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index b6d4b2af522b..ae3c96dc1a40 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -817,7 +817,7 @@ struct RGWBucketInfo void decode_json(JSONObj *obj); - RGWBucketInfo() : flags(0), creation_time(0), has_instance_obj(false), bucket_index_shard_hash_type(MOD) {} + RGWBucketInfo() : flags(0), creation_time(0), has_instance_obj(false), num_shards(0), bucket_index_shard_hash_type(MOD) {} }; WRITE_CLASS_ENCODER(RGWBucketInfo) -- 2.47.3