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:
@@ -143,7 +143,7 @@ void InvalidateAll()
|
||||
// On invalidate cache:
|
||||
// 1. invalidate all texture units.
|
||||
|
||||
void Invalidate([[maybe_unused]] u32 param)
|
||||
void Invalidate(u32 /* param */)
|
||||
{
|
||||
// The exact arguments of Invalidate commands is currently unknown.
|
||||
// It appears to contain the TMEM address and a size.
|
||||
|
||||
Reference in New Issue
Block a user