# HG changeset patch # User Christian Brabandt # Date 1525077906 -7200 # Node ID c01864ecf233f11ae5902566552f277a4e0132e4 # Parent 09f997645d11dfe3d8e08467bf39aa70fc600cb2 patch 8.0.1775: MS-Windows: warning for unused variable commit https://github.com/vim/vim/commit/850d427f070a61267ef384a449992e72d2bea12c Author: Bram Moolenaar 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) diff --git a/src/channel.c b/src/channel.c --- 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) diff --git a/src/version.c b/src/version.c --- 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,