]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unused store variable 42190/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 5 Jul 2021 23:27:00 +0000 (19:27 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 5 Jul 2021 23:27:00 +0000 (19:27 -0400)
A recent change made the store variable unnecessary and now compiling
generates a warning. Clean up.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_rados.cc

index 427c238c4cca8d315420965cb28723beb81f4a0c..45aa737529ce868b0d2d0f346bc76b060c85ba5d 100644 (file)
@@ -5630,7 +5630,6 @@ int RGWRados::Object::Stat::finish(const DoutPrefixProvider *dpp)
       result.manifest.emplace();
       decode(*result.manifest, biter);
     } catch (buffer::error& err) {
-      RGWRados *store = source->get_store();
       ldpp_dout(dpp, 0) << "ERROR: " << __func__ << ": failed to decode manifest"  << dendl;
       return -EIO;
     }