From: nhmall Date: Sat, 25 Jun 2022 13:32:10 +0000 (-0400) Subject: remove now unneeded {} block in switch X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b60dae1706db6e0ed03765c42e3de741efe3c5f6;p=nethack remove now unneeded {} block in switch --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index cd0ca80f8..dc4ac30a6 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -3655,7 +3655,7 @@ tty_update_invent_slot( /* sparse isn't needed port-side */ switch(pi->fromcore.core_request) { - case request_settings: { + case request_settings: pi->tocore = zero_tocore; tty_ok = assesstty(ttyinvmode, &offx, &offy, &rows, &cols, @@ -3672,7 +3672,6 @@ tty_update_invent_slot( pi->tocore.maxslot = maxslot; return pi; break; - } case update_slot: if ((cw = wins[window]) == (struct WinDesc *) 0) panic(winpanicstr, window);