mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08: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:
@@ -1221,7 +1221,7 @@ static int nfa_regatom(void)
|
||||
goto collection;
|
||||
|
||||
/* "\_x" is character class plus newline */
|
||||
/*FALLTHROUGH*/
|
||||
FALLTHROUGH;
|
||||
|
||||
/*
|
||||
* Character classes.
|
||||
@@ -4209,7 +4209,7 @@ skip_add:
|
||||
subs = addstate(l, state->out, subs, pim, off_arg);
|
||||
break;
|
||||
}
|
||||
// fallthrough
|
||||
FALLTHROUGH;
|
||||
case NFA_MCLOSE1:
|
||||
case NFA_MCLOSE2:
|
||||
case NFA_MCLOSE3:
|
||||
|
Reference in New Issue
Block a user