From: Bram Moolenaar Date: Thu, 9 Feb 2017 17:25:14 +0000 (+0100) Subject: patch 8.0.0320: warning for unused variable with small build X-Git-Tag: v8.0.0320 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d8505155ec3d0f04e268b2997153ecaf37ee188;p=vim 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) --- 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, /**/