Codechange: Silence warnings about intentionally unused parameters.
This commit is contained in:
@@ -65,12 +65,12 @@ struct EndGameHighScoreBaseWindow : Window {
|
||||
return pt;
|
||||
}
|
||||
|
||||
void OnClick(Point pt, int widget, int click_count) override
|
||||
void OnClick([[maybe_unused]] Point pt, [[maybe_unused]] int widget, [[maybe_unused]] int click_count) override
|
||||
{
|
||||
this->Close();
|
||||
}
|
||||
|
||||
EventState OnKeyPress(char32_t key, uint16_t keycode) override
|
||||
EventState OnKeyPress([[maybe_unused]] char32_t key, uint16_t keycode) override
|
||||
{
|
||||
/* All keys are 'handled' by this window but we want to make
|
||||
* sure that 'quit' still works correctly. Not handling the
|
||||
|
Reference in New Issue
Block a user