summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-30 10:38:40 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-30 10:38:40 +0200
commit850d427f070a61267ef384a449992e72d2bea12c (patch)
tree08d8066830718d06d641f0afdf801eb65ec821d2
parent13d3b05ed2cf9a54b18b4e8236f0af2c5386200c (diff)
downloadvim-850d427f070a61267ef384a449992e72d2bea12c.zip
patch 8.0.1775: MS-Windows: warning for unused variable
Problem: MS-Windows: warning for unused variable. Solution: Move declaration inside #ifdef. (Mike Williams)
-rw-r--r--src/channel.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1775,
+/**/
1774,
/**/
1773,