Skip to content

Commit

Permalink
Remove unneeded stub.
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpixi committed Aug 22, 2022
1 parent 88adfad commit ffaa4da
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,12 +893,6 @@ deletenode(NODE *n) /* Delete a node. */
freenode(n, true);
}

static void
bailout(void) /* nothing to do */
{
;
}

static void
reshapeview(NODE *n, int d, int ow) /* Reshape a view. */
{
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit ffaa4da

Please sign in to comment.