]> granicus.if.org Git - nethack/commitdiff
more github 229 warning
authornhmall <nhmall@nethack.org>
Tue, 8 Oct 2019 02:02:26 +0000 (22:02 -0400)
committernhmall <nhmall@nethack.org>
Tue, 8 Oct 2019 02:02:26 +0000 (22:02 -0400)
win/tty/wintty.c

index 09fe7647028f6ccbb917dc90c14c292e610cea73..c7e7e290a6ce85e3281920f7d508a503823f7e94 100644 (file)
@@ -4211,11 +4211,15 @@ int x, y;
                 text++;
             }
         }
-    } else {
+    }
+#if 0
+    else {
+        if (truncation_expected) {
         /* Now we're truncating */
-        if (truncation_expected)
             ; /* but we knew in advance */
+        }
     }
+#endif
 }
 
 /* caller must set cond_shrinklvl (0..2) before calling us */