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.
This commit is contained in:
Dentomologist
2026-05-03 17:09:59 -07:00
parent eb44b64c9e
commit 34646cb9a9
8 changed files with 25 additions and 22 deletions

View File

@@ -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;
}