Permalink
Browse files

patch 8.0.1775: MS-Windows: warning for unused variable

Problem:    MS-Windows: warning for unused variable.
Solution:   Move declaration inside #ifdef. (Mike Williams)
  • Loading branch information...
brammool committed Apr 30, 2018
1 parent 13d3b05 commit 850d427f070a61267ef384a449992e72d2bea12c
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/channel.c
  2. +2 −0 src/version.c
@@ -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)
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1775,
/**/
1774,
/**/

0 comments on commit 850d427

Please sign in to comment.