changeset 13806:c01864ecf233 v8.0.1775

patch 8.0.1775: MS-Windows: warning for unused variable commit https://github.com/vim/vim/commit/850d427f070a61267ef384a449992e72d2bea12c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 30 10:38:40 2018 +0200 patch 8.0.1775: MS-Windows: warning for unused variable Problem: MS-Windows: warning for unused variable. Solution: Move declaration inside #ifdef. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Mon, 30 Apr 2018 10:45:06 +0200
parents 09f997645d11
children 8c2a02b287ee
files src/channel.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/channel.c
+++ b/src/channel.c
@@ -5496,12 +5496,12 @@ job_start(typval_T *argvars, char **argv
     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)
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1775,
+/**/
     1774,
 /**/
     1773,