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

@@ -41,7 +41,7 @@ namespace nethack_qt_ {
#define TILEWMIN 6
#define TILEHMIN 6
NetHackQtSettings::NetHackQtSettings(int w, int h) :
NetHackQtSettings::NetHackQtSettings(int w UNUSED, int h UNUSED) :
settings(),
tilewidth(this),
tileheight(this),
@@ -151,7 +151,7 @@ void NetHackQtSettings::toggleGlyphSize()
whichsize.toggle();
}
void NetHackQtSettings::setGlyphSize(bool which)
void NetHackQtSettings::setGlyphSize(bool which UNUSED)
{
QSize n = QSize(tilewidth.value(),tileheight.value());
if ( othersize.isValid() ) {