mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.2284: compiler warning for unused variable
Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.
This commit is contained in:
@@ -988,7 +988,9 @@ curs_columns(
|
||||
/* long line wrapping, adjust curwin->w_wrow */
|
||||
if (curwin->w_wcol >= curwin->w_width)
|
||||
{
|
||||
#ifdef FEAT_LINEBREAK
|
||||
char_u *sbr;
|
||||
#endif
|
||||
|
||||
/* this same formula is used in validate_cursor_col() */
|
||||
n = (curwin->w_wcol - curwin->w_width) / width + 1;
|
||||
|
Reference in New Issue
Block a user