From 3e6d56e1398fb6847222320dd661412f4f3b2b54 Mon Sep 17 00:00:00 2001 From: "J. Eric Ivancich" Date: Mon, 5 Jul 2021 19:27:00 -0400 Subject: [PATCH] rgw: remove unused store variable A recent change made the store variable unnecessary and now compiling generates a warning. Clean up. Signed-off-by: J. Eric Ivancich --- src/rgw/rgw_rados.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 427c238c4cca..45aa737529ce 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -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; } -- 2.47.3