mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -433,8 +433,8 @@ newwindow:
|
||||
g_do_tagpreview = Prenum;
|
||||
else
|
||||
g_do_tagpreview = p_pvh;
|
||||
/*FALLTHROUGH*/
|
||||
#endif
|
||||
/* FALLTHROUGH */
|
||||
case ']':
|
||||
case Ctrl_RSB:
|
||||
CHECK_CMDWIN
|
||||
@@ -557,8 +557,8 @@ wingotofile:
|
||||
g_do_tagpreview = Prenum;
|
||||
else
|
||||
g_do_tagpreview = p_pvh;
|
||||
/*FALLTHROUGH*/
|
||||
#endif
|
||||
/* FALLTHROUGH */
|
||||
case ']':
|
||||
case Ctrl_RSB:
|
||||
/* keep Visual mode, can select words to use as a tag */
|
||||
|
Reference in New Issue
Block a user