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:
@@ -4325,6 +4325,7 @@ build_stl_str_hl(
|
||||
|
||||
case STL_OFFSET_X:
|
||||
base = 'X';
|
||||
/* FALLTHROUGH */
|
||||
case STL_OFFSET:
|
||||
#ifdef FEAT_BYTEOFF
|
||||
l = ml_find_line_or_offset(wp->w_buffer, wp->w_cursor.lnum, NULL);
|
||||
@@ -4336,6 +4337,7 @@ build_stl_str_hl(
|
||||
|
||||
case STL_BYTEVAL_X:
|
||||
base = 'X';
|
||||
/* FALLTHROUGH */
|
||||
case STL_BYTEVAL:
|
||||
num = byteval;
|
||||
if (num == NL)
|
||||
|
Reference in New Issue
Block a user