diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-10 01:32:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-10 01:32:12 +0100 |
commit | 439b3aca373a1fc661f20154eba340045bbe8454 (patch) | |
tree | e8e5045b40bfaa84a50e00ae657c02ae06d0c306 | |
parent | 91e22eb6e09ec384496fccde812072033fd9e616 (diff) |
patch 8.1.2284: compiler warning for unused variablev8.1.2284
Problem: Compiler warning for unused variable. (Tony Mechelynck)
Solution: Add #ifdef.
-rw-r--r-- | src/move.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c index 484b931abf..d340f0223c 100644 --- a/src/move.c +++ b/src/move.c @@ -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; diff --git a/src/version.c b/src/version.c index d8eedea522..64efb6ebd4 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2284, +/**/ 2283, /**/ 2282, |