]> granicus.if.org Git - vim/commitdiff
patch 8.0.1775: MS-Windows: warning for unused variable v8.0.1775
authorBram Moolenaar <Bram@vim.org>
Mon, 30 Apr 2018 08:38:40 +0000 (10:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 30 Apr 2018 08:38:40 +0000 (10:38 +0200)
Problem:    MS-Windows: warning for unused variable.
Solution:   Move declaration inside #ifdef. (Mike Williams)

src/channel.c
src/version.c

index 2c82efa723937431346b707de4cdd21ee9eec6f7..67be1d75ee1e16305952bd66d03d5d4b27bc2715 100644 (file)
@@ -5496,12 +5496,12 @@ job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg)
     int                argc = 0;
 #if defined(UNIX)
 # define USE_ARGV
+    int                i;
 #else
     garray_T   ga;
 #endif
     jobopt_T   opt;
     ch_part_T  part;
-    int                i;
 
     job = job_alloc();
     if (job == NULL)
index 10e446a69d85d76554e67205c03bceddf0243ce6..06b9af842d397cabf1cd61b1d36dfac2f37aeaca 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1775,
 /**/
     1774,
 /**/