diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-09-10 00:32:43 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-09-10 00:32:43 -0400 |
commit | 6d50f4d0c9098497686161c08121b21d492a469d (patch) | |
tree | 539673000d461fa685920f341cd8d0f219f1b378 /src/nvim/cursor.c | |
parent | b50cc42eb7afda714f3678a627ff6c55d342bc30 (diff) | |
parent | 23acaf8940ca55d6fb4f180c2b78c2f90bfafa8a (diff) | |
download | rneovim-6d50f4d0c9098497686161c08121b21d492a469d.tar.gz rneovim-6d50f4d0c9098497686161c08121b21d492a469d.tar.bz2 rneovim-6d50f4d0c9098497686161c08121b21d492a469d.zip |
Merge #3297 'move.c refactor'
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r-- | src/nvim/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c index cd84d7014c..afaa6022c9 100644 --- a/src/nvim/cursor.c +++ b/src/nvim/cursor.c @@ -282,7 +282,7 @@ linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum) // Loop until we reach to_line, skipping folds. for (; from_line < to_line; from_line++, retval++) { // If from_line is in a fold, set it to the last line of that fold. - hasFoldingWin(wp, from_line, NULL, &from_line, true, NULL); + (void)hasFoldingWin(wp, from_line, NULL, &from_line, true, NULL); } // If to_line is in a closed fold, the line count is off by +1. Correct it. |