From 34646cb9a90eb0ef7fa489f76753184359e7aa15 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sun, 3 May 2026 17:09:59 -0700 Subject: Replace some [[maybe_unused]] annotations with commented names Remove the [[maybe_unused]] annotation from various parameters that are unconditionally unused and comment out their names instead. This makes it unambiguous that the variables are unused, while making the remaining [[maybe_unused]] annotations more reliable indicators that those variables are in fact used in some contexts. These parameters are mostly in overridden functions where the override doesn't need that particular variable. --- Source/Core/VideoCommon/VertexLoader_Position.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/VertexLoader_Position.cpp') diff --git a/Source/Core/VideoCommon/VertexLoader_Position.cpp b/Source/Core/VideoCommon/VertexLoader_Position.cpp index 27ea61ea30..68f2d870f9 100644 --- a/Source/Core/VideoCommon/VertexLoader_Position.cpp +++ b/Source/Core/VideoCommon/VertexLoader_Position.cpp @@ -24,7 +24,7 @@ constexpr float PosScale(T val, float scale) } template <> -constexpr float PosScale(float val, [[maybe_unused]] float scale) +constexpr float PosScale(float val, float /* scale */) { return val; } -- cgit v1.2.3