commit ffaa4da70eb7a83162f8609f71a25936ad31c0ed
parent 88adfad8f9b483cc1d9528ece8d4bc30016f2fe3
Author: Rob King <rob@frigidriver.com>
Date: Sun, 21 Aug 2022 22:00:18 -0500
Remove unneeded stub.
Diffstat:
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/mtm.c b/mtm.c
@@ -894,12 +894,6 @@ deletenode(NODE *n) /* Delete a node. */
}
static void
-bailout(void) /* nothing to do */
-{
- ;
-}
-
-static void
reshapeview(NODE *n, int d, int ow) /* Reshape a view. */
{
int oy, ox;
@@ -1107,7 +1101,7 @@ handlechar(int r, int k) /* Handle a single input character. */
DO(true, HSPLIT, split(n, HORIZONTAL))
DO(true, VSPLIT, split(n, VERTICAL))
DO(true, DELETE_NODE, deletenode(n))
- DO(true, BAILOUT, bailout())
+ DO(true, BAILOUT, (void)1)
DO(true, REDRAW, touchwin(stdscr); draw(root); redrawwin(stdscr))
DO(true, SCROLLUP, scrollback(n))
DO(true, SCROLLDOWN, scrollforward(n))