Revert "Revert "eliminate a couple of build warnings (noticed with clang)""
This reverts commit 1a8395002f.
This commit is contained in:
@@ -991,7 +991,8 @@ 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 */
|
||||
/* fall through */
|
||||
FALLTHROUGH;
|
||||
/*FALLTHRU*/
|
||||
case NHW_TEXT:
|
||||
add_to_text_window(wp, attr, str);
|
||||
break;
|
||||
|
||||
@@ -187,6 +187,7 @@ curs_scroll_invt(WINDOW *win UNUSED)
|
||||
res = 1;
|
||||
break;
|
||||
}
|
||||
FALLTHROUGH;
|
||||
/*FALLTHRU*/
|
||||
case KEY_RIGHT:
|
||||
case KEY_NPAGE:
|
||||
|
||||
Reference in New Issue
Block a user