diff src/channel.c @ 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 5f6c61a71c02
children fa0dcdaec6a3
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)