diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-09 18:25:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-09 18:25:14 +0100 |
commit | 4d8505155ec3d0f04e268b2997153ecaf37ee188 (patch) | |
tree | 8b87dde015038d26e79258d8f2fcdb7e3e81d834 | |
parent | 190b04cdd936f4696c22466b7f077f9371d96580 (diff) | |
download | vim-4d8505155ec3d0f04e268b2997153ecaf37ee188.zip |
patch 8.0.0320: warning for unused variable with small build
Problem: Warning for unused variable with small build.
Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
-rw-r--r-- | src/ex_getln.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 4365100a2..c498e00a1 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -212,8 +212,7 @@ getcmdline( #endif expand_T xpc; long *b_im_ptr = NULL; -#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \ - || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN) +#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA) /* Everything that may work recursively should save and restore the * current command line in save_ccline. That includes update_screen(), a * custom status line may invoke ":normal". */ diff --git a/src/version.c b/src/version.c index 09680b9bc..2d6940d94 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 320, +/**/ 319, /**/ 318, |