]> granicus.if.org Git - nethack/commitdiff
remove now unneeded {} block in switch
authornhmall <nhmall@nethack.org>
Sat, 25 Jun 2022 13:32:10 +0000 (09:32 -0400)
committernhmall <nhmall@nethack.org>
Sat, 25 Jun 2022 13:32:10 +0000 (09:32 -0400)
win/tty/wintty.c

index cd0ca80f8064094bbc142b831e16e27e4d9bba13..dc4ac30a60fb837f95d45b2b3ba3129e43e3c338 100644 (file)
@@ -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);