diff options
author | James McCoy <jamessan@jamessan.com> | 2017-05-13 07:51:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-13 07:51:01 -0400 |
commit | ac47f8a50691e6ce99c54712e5c984db8b1f079e (patch) | |
tree | f6863f960fe46983b5efb2a84db0bed6f8c80b75 /src/nvim/buffer.c | |
parent | ae3d5e5ecc32f4ca6a29976880f225a716bad44b (diff) | |
parent | f3a508b4a3c13cc755b355976c6e0f2fae7e1645 (diff) | |
download | rneovim-ac47f8a50691e6ce99c54712e5c984db8b1f079e.tar.gz rneovim-ac47f8a50691e6ce99c54712e5c984db8b1f079e.tar.bz2 rneovim-ac47f8a50691e6ce99c54712e5c984db8b1f079e.zip |
Merge pull request #6514 from jamessan/gcc-7-fixes
Fix GCC 7 issues
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index f54979eb1e..e3897e3929 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3607,6 +3607,7 @@ int build_stl_str_hl( case STL_OFFSET_X: base = kNumBaseHexadecimal; + // fallthrough case STL_OFFSET: { long l = ml_find_line_or_offset(wp->w_buffer, wp->w_cursor.lnum, NULL); @@ -3617,6 +3618,7 @@ int build_stl_str_hl( } case STL_BYTEVAL_X: base = kNumBaseHexadecimal; + // fallthrough case STL_BYTEVAL: num = byteval; if (num == NL) |