Mercurial > vim
comparison src/channel.c @ 13806:c01864ecf233 v8.0.1775
patch 8.0.1775: MS-Windows: warning for unused variable
commit https://github.com/vim/vim/commit/850d427f070a61267ef384a449992e72d2bea12c
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 30 Apr 2018 10:45:06 +0200 |
parents | 5f6c61a71c02 |
children | fa0dcdaec6a3 |
comparison
equal
deleted
inserted
replaced
13805:09f997645d11 | 13806:c01864ecf233 |
---|---|
5494 char_u *cmd = NULL; | 5494 char_u *cmd = NULL; |
5495 char **argv = NULL; | 5495 char **argv = NULL; |
5496 int argc = 0; | 5496 int argc = 0; |
5497 #if defined(UNIX) | 5497 #if defined(UNIX) |
5498 # define USE_ARGV | 5498 # define USE_ARGV |
5499 int i; | |
5499 #else | 5500 #else |
5500 garray_T ga; | 5501 garray_T ga; |
5501 #endif | 5502 #endif |
5502 jobopt_T opt; | 5503 jobopt_T opt; |
5503 ch_part_T part; | 5504 ch_part_T part; |
5504 int i; | |
5505 | 5505 |
5506 job = job_alloc(); | 5506 job = job_alloc(); |
5507 if (job == NULL) | 5507 if (job == NULL) |
5508 return NULL; | 5508 return NULL; |
5509 | 5509 |