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

@@ -529,9 +529,9 @@ void NetHackQtMapViewport::CursorTo(int x,int y)
Changed(cursor.x(),cursor.y());
}
void NetHackQtMapViewport::PrintGlyph(int x,int y,int glyph)
void NetHackQtMapViewport::PrintGlyph(int x,int y,int theglyph)
{
Glyph(x,y)=glyph;
Glyph(x,y)=theglyph;
Changed(x,y);
}
@@ -580,7 +580,7 @@ void NetHackQtMapWindow2::clearMessages()
messages_rect = QRect();
}
void NetHackQtMapWindow2::putMessage(int attr, const QString& text)
void NetHackQtMapWindow2::putMessage(int attr UNUSED, const QString& text)
{
if ( !messages.isEmpty() )
messages += "\n";
@@ -617,7 +617,7 @@ void NetHackQtMapWindow2::CursorTo(int x,int y)
m_viewport->CursorTo(x, y);
}
void NetHackQtMapWindow2::PutStr(int attr, const QString& text)
void NetHackQtMapWindow2::PutStr(int attr UNUSED, const QString& text UNUSED)
{
puts("unexpected PutStr in MapWindow");
}