mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
vim-patch:8.0.1215: newer gcc warns for implicit fallthrough
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2f40d129bf
This commit is contained in:
@@ -2255,7 +2255,7 @@ static int do_more_prompt(int typed_char)
|
||||
skip_redraw = TRUE; /* skip redraw once */
|
||||
need_wait_return = FALSE; /* don't wait in main() */
|
||||
}
|
||||
/*FALLTHROUGH*/
|
||||
FALLTHROUGH;
|
||||
case 'q': /* quit */
|
||||
case Ctrl_C:
|
||||
case ESC:
|
||||
|
Reference in New Issue
Block a user