To: vim_dev@googlegroups.com Subject: Patch 8.0.1775 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1775 Problem: MS-Windows: warning for unused variable. Solution: Move declaration inside #ifdef. (Mike Williams) Files: src/channel.c *** ../vim-8.0.1774/src/channel.c 2018-04-24 20:54:01.568445035 +0200 --- src/channel.c 2018-04-30 09:33:08.632020248 +0200 *************** *** 5496,5507 **** int argc = 0; #if defined(UNIX) # define USE_ARGV #else garray_T ga; #endif jobopt_T opt; ch_part_T part; - int i; job = job_alloc(); if (job == NULL) --- 5496,5507 ---- int argc = 0; #if defined(UNIX) # define USE_ARGV + int i; #else garray_T ga; #endif jobopt_T opt; ch_part_T part; job = job_alloc(); if (job == NULL) *** ../vim-8.0.1774/src/version.c 2018-04-29 13:34:42.942051531 +0200 --- src/version.c 2018-04-30 09:33:54.751718434 +0200 *************** *** 763,764 **** --- 763,766 ---- { /* Add new patch number below this line */ + /**/ + 1775, /**/ -- "My particular problem is with registry entries, which seem to just accumulate like plastic coffee cups..." -- Paul Moore /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///