mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.177
Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.
This commit is contained in:
@@ -2101,7 +2101,9 @@ scroll_cursor_halfway(atend)
|
||||
int used;
|
||||
lineoff_T loff;
|
||||
lineoff_T boff;
|
||||
#ifdef FEAT_DIFF
|
||||
linenr_T old_topline = curwin->w_topline;
|
||||
#endif
|
||||
|
||||
loff.lnum = boff.lnum = curwin->w_cursor.lnum;
|
||||
#ifdef FEAT_FOLDING
|
||||
|
Reference in New Issue
Block a user