From cf448e83c01513b89696d3ca49e22f89eb4a6beb Mon Sep 17 00:00:00 2001 From: Suyash Dongre Date: Sat, 25 May 2024 21:06:49 +0530 Subject: [PATCH] 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 --- src/rgw/rgw_auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3