diff --git a/win/Qt/qt_main.cpp b/win/Qt/qt_main.cpp index 8be7669aa..dfada1ba7 100644 --- a/win/Qt/qt_main.cpp +++ b/win/Qt/qt_main.cpp @@ -1385,7 +1385,8 @@ void NetHackQtMainWindow::closeEvent(QCloseEvent *e UNUSED) switch (act) { case 0: // See dosave() function - ok = dosave0(); + // ok = dosave0(); + (void) dosave0(); break; case 1: // quit -- bypass the prompting preformed by done2()