From: nhmall Date: Tue, 8 Oct 2019 02:02:26 +0000 (-0400) Subject: more github 229 warning X-Git-Tag: v3.6.3.757eca7~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2172c5e7ff40ea073e2749a0f7034db9e6a7f835;p=nethack more github 229 warning --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 09fe76470..c7e7e290a 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -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 */