From 4d8505155ec3d0f04e268b2997153ecaf37ee188 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 Feb 2017 18:25:14 +0100 Subject: [PATCH] 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) --- src/ex_getln.c | 3 +-- 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 @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 320, /**/ 319, /**/ -- 2.50.1