quiet down some build warnings with Qt under OSX clang++

This commit is contained in:
nhmall
2020-07-17 18:37:07 -04:00
parent 84b598e489
commit f6b4306ce6
16 changed files with 55 additions and 50 deletions

View File

@@ -211,14 +211,14 @@ QWidget* NetHackQtStatusWindow::Widget() { return this; }
void NetHackQtStatusWindow::Clear()
{
}
void NetHackQtStatusWindow::Display(bool block)
void NetHackQtStatusWindow::Display(bool block UNUSED)
{
}
void NetHackQtStatusWindow::CursorTo(int,int y)
{
cursy=y;
}
void NetHackQtStatusWindow::PutStr(int attr, const QString& text)
void NetHackQtStatusWindow::PutStr(int attr UNUSED, const QString& text UNUSED)
{
// do a complete update when line 0 is done (as per X11 fancy status)
if (cursy==0) updateStats();