From 850d427f070a61267ef384a449992e72d2bea12c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 30 Apr 2018 10:38:40 +0200 Subject: patch 8.0.1775: MS-Windows: warning for unused variable Problem: MS-Windows: warning for unused variable. Solution: Move declaration inside #ifdef. (Mike Williams) --- src/channel.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/channel.c b/src/channel.c index 2c82efa72..67be1d75e 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 10e446a69..06b9af842 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, /**/ -- cgit v1.2.3