aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor.c
diff options
context:
space:
mode:
authorNicolas Cornu <nicolac76@yahoo.fr>2015-09-08 02:34:43 +0200
committerNicolas Cornu <nicolac76@yahoo.fr>2015-09-08 02:34:43 +0200
commit63a39015f5510e1b0be094ae9298f31bf339cc0f (patch)
treea93458d4c421ccca43ced48d9abb23311e1fb9d7 /src/nvim/cursor.c
parent41778e2e10e43d6ba96b27e63fb392a8d6d64b01 (diff)
downloadrneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.tar.gz
rneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.tar.bz2
rneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.zip
hasFoldingWin now return bool
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r--src/nvim/cursor.c2
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.