mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +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:
@@ -367,7 +367,7 @@ newwindow:
|
||||
g_do_tagpreview = Prenum;
|
||||
else
|
||||
g_do_tagpreview = p_pvh;
|
||||
/*FALLTHROUGH*/
|
||||
FALLTHROUGH;
|
||||
case ']':
|
||||
case Ctrl_RSB:
|
||||
CHECK_CMDWIN
|
||||
@@ -465,7 +465,7 @@ wingotofile:
|
||||
g_do_tagpreview = Prenum;
|
||||
else
|
||||
g_do_tagpreview = p_pvh;
|
||||
/*FALLTHROUGH*/
|
||||
FALLTHROUGH;
|
||||
case ']':
|
||||
case Ctrl_RSB:
|
||||
// Keep visual mode, can select words to use as a tag.
|
||||
|
Reference in New Issue
Block a user