]> granicus.if.org Git - nethack/commitdiff
Qt follow-up bit
authornhmall <nhmall@nethack.org>
Wed, 3 Feb 2021 20:36:00 +0000 (15:36 -0500)
committernhmall <nhmall@nethack.org>
Wed, 3 Feb 2021 20:36:00 +0000 (15:36 -0500)
win/Qt/qt_main.cpp

index 8be7669aa07edba1ea13ec0e1077655c04a189a0..dfada1ba71acbf207f7fe43b80137f068f935c30 100644 (file)
@@ -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()