]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
anotated rgw_auth.cc 57876/head
authorSuyash Dongre <suyashd999@gmail.com>
Sat, 25 May 2024 15:36:49 +0000 (21:06 +0530)
committerSuyash Dongre <suyashd999@gmail.com>
Tue, 18 Jun 2024 17:52:52 +0000 (23:22 +0530)
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 <suyashd999@gmail.com>
src/rgw/rgw_auth.cc

index 57eded9eb6a8a5477e91861aa65cde45435c396f..50996fd4ff2021109a2e1f3020bf7246ccfe0078 100644 (file)
@@ -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