Revert "Revert "eliminate a couple of build warnings (noticed with clang)""
This reverts commit 1a8395002f.
This commit is contained in:
+2
-1
@@ -991,7 +991,8 @@ X11_putstr(winid window, int attr, const char *str)
|
|||||||
X11_destroy_nhwindow(window);
|
X11_destroy_nhwindow(window);
|
||||||
*wp = window_list[new_win];
|
*wp = window_list[new_win];
|
||||||
window_list[new_win].type = NHW_NONE; /* allow re-use */
|
window_list[new_win].type = NHW_NONE; /* allow re-use */
|
||||||
/* fall through */
|
FALLTHROUGH;
|
||||||
|
/*FALLTHRU*/
|
||||||
case NHW_TEXT:
|
case NHW_TEXT:
|
||||||
add_to_text_window(wp, attr, str);
|
add_to_text_window(wp, attr, str);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -187,6 +187,7 @@ curs_scroll_invt(WINDOW *win UNUSED)
|
|||||||
res = 1;
|
res = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
FALLTHROUGH;
|
||||||
/*FALLTHRU*/
|
/*FALLTHRU*/
|
||||||
case KEY_RIGHT:
|
case KEY_RIGHT:
|
||||||
case KEY_NPAGE:
|
case KEY_NPAGE:
|
||||||
|
|||||||
Reference in New Issue
Block a user