]> granicus.if.org Git - vim/commitdiff
patch 8.0.0320: warning for unused variable with small build v8.0.0320
authorBram Moolenaar <Bram@vim.org>
Thu, 9 Feb 2017 17:25:14 +0000 (18:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 9 Feb 2017 17:25:14 +0000 (18:25 +0100)
Problem:    Warning for unused variable with small build.
Solution:   Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)

src/ex_getln.c
src/version.c

index 4365100a2bbd09adab76b8c6d79bceb6ffbdda90..c498e00a123f985fc9b0563b36adee7338ada303 100644 (file)
@@ -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". */
index 09680b9bc2afb9186118e2936f7464b7c9208950..2d6940d946177ce4a6f696dfb6a814ce1b2adf14 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    320,
 /**/
     319,
 /**/