From: Suyash Dongre Date: Sat, 25 May 2024 15:36:49 +0000 (+0530) Subject: anotated rgw_auth.cc X-Git-Tag: v20.0.0~1185^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57876%2Fhead;p=ceph.git anotated rgw_auth.cc strategy_result is immediately being re-assigned after the move. reference: https://github.com/ceph/ceph/blob/e879ce83c084f1a96e5dd0ab2b57bf909cfa423d/src/rgw/rgw_auth.cc#L461-L463 Signed-off-by: Suyash Dongre --- diff --git a/src/rgw/rgw_auth.cc b/src/rgw/rgw_auth.cc index 57eded9eb6a..50996fd4ff2 100644 --- a/src/rgw/rgw_auth.cc +++ b/src/rgw/rgw_auth.cc @@ -490,7 +490,7 @@ rgw::auth::Strategy::authenticate(const DoutPrefixProvider* dpp, const req_state } } - return strategy_result; + return strategy_result; //NOLINT(bugprone-use-after-move) } int