Permalink
Browse files

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)
  • Loading branch information...
brammool committed Feb 9, 2017
1 parent 190b04c commit 4d8505155ec3d0f04e268b2997153ecaf37ee188
Showing with 3 additions and 2 deletions.
  1. +1 −2 src/ex_getln.c
  2. +2 −0 src/version.c
View
@@ -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". */
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 320,
/**/
319,
/**/

0 comments on commit 4d85051

Please sign in to comment.