mirror of https://github.com/OpenTTD/OpenTTD
Cleanup: Fix compiler warning.
Removed compiler warning coming from unused parameter in inherited function by adding an atttribute to the parameter.pull/12611/head
parent
9fe9e4d398
commit
3ba27fc13c
|
@ -115,7 +115,7 @@ void FreeTypeFontCache::SetFontSize(FontSize, FT_Face, int pixels)
|
|||
}
|
||||
}
|
||||
|
||||
static FT_Error LoadFont(FontSize fs, FT_Face face, const char *font_name, uint size)
|
||||
static FT_Error LoadFont(FontSize fs, FT_Face face, [[maybe_unused]] const char *font_name, uint size)
|
||||
{
|
||||
Debug(fontcache, 2, "Requested '{}', using '{} {}'", font_name, face->family_name, face->style_name);
|
||||
|
||||
|
|
Loading…
Reference in New Issue