Revert "eliminate a couple of build warnings (noticed with clang)"

This reverts commit 7e8a04b35a.
This commit is contained in:
nhmall
2025-01-13 11:47:57 -05:00
parent 0a401253ce
commit 1a8395002f
2 changed files with 1 additions and 3 deletions

View File

@@ -991,8 +991,7 @@ X11_putstr(winid window, int attr, const char *str)
X11_destroy_nhwindow(window);
*wp = window_list[new_win];
window_list[new_win].type = NHW_NONE; /* allow re-use */
FALLTHROUGH;
/*FALLTHRU*/
/* fall through */
case NHW_TEXT:
add_to_text_window(wp, attr, str);
break;

View File

@@ -187,7 +187,6 @@ curs_scroll_invt(WINDOW *win UNUSED)
res = 1;
break;
}
FALLTHROUGH;
/*FALLTHRU*/
case KEY_RIGHT:
case KEY_NPAGE: