diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-24 21:49:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-24 21:49:36 +0200 |
commit | 2f40d129bf45cd35976e4120336ae6d504f5a5dd (patch) | |
tree | 28165f91d583148c96dca3f4fe5d0c7e61b2e860 /src/buffer.c | |
parent | 4f1982800f0aff28df6875e718a786f6c4b11ad9 (diff) |
patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1bf692a830..0d69b9d66b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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) |