From: Yehuda Sadeh Date: Fri, 4 Jan 2019 21:27:26 +0000 (-0800) Subject: rgw: remove a warning X-Git-Tag: v14.1.0~314^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5c1ebba550bb7e1ec18e4e3946a3082b21c902a2;p=ceph.git rgw: remove a warning No need for warning, rgw_placement_rule is being read as a string and backward compatible. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 68f5ede2f9f8..5786c0f3e9b0 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -118,7 +118,6 @@ static bool rgw_get_obj_data_pool(const RGWZoneGroup& zonegroup, const RGWZonePa } if (!obj.in_extra_data) { -#warning zonegroup default placement backward compatibility json decode/encode *pool = placement.get_data_pool(zonegroup.default_placement.storage_class); } else { *pool = placement.get_data_extra_pool();