From: Bram Moolenaar Date: Mon, 30 Apr 2018 08:38:40 +0000 (+0200) Subject: patch 8.0.1775: MS-Windows: warning for unused variable X-Git-Tag: v8.0.1775 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=850d427f070a61267ef384a449992e72d2bea12c;p=thirdparty%2Fvim.git patch 8.0.1775: MS-Windows: warning for unused variable Problem: MS-Windows: warning for unused variable. Solution: Move declaration inside #ifdef. (Mike Williams) --- diff --git a/src/channel.c b/src/channel.c index 2c82efa723..67be1d75ee 100644 --- a/src/channel.c +++ b/src/channel.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) diff --git a/src/version.c b/src/version.c index 10e446a69d..06b9af842d 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1775, /**/ 1774, /**/