Skip to content

Commit cf448e8

Browse files
committed
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 <[email protected]>
1 parent 8c4f910 commit cf448e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_auth.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ rgw::auth::Strategy::authenticate(const DoutPrefixProvider* dpp, const req_state
490490
}
491491
}
492492

493-
return strategy_result;
493+
return strategy_result; //NOLINT(bugprone-use-after-move)
494494
}
495495

496496
int

0 commit comments

Comments
 (0)