To: vim_dev@googlegroups.com Subject: Patch 8.0.1613 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1613 Problem: Warning for unused variable in tiny build. (Tony Mechelynck) Solution: Move declaration to inner block. Files: src/os_unix.c *** ../vim-8.0.1612/src/os_unix.c 2018-03-16 20:46:52.666190006 +0100 --- src/os_unix.c 2018-03-17 13:13:17.614676019 +0100 *************** *** 4588,4594 **** char_u *tofree1 = NULL; char_u *tofree2 = NULL; int i; - char_u *p; int pty_master_fd = -1; /* for pty's */ # ifdef FEAT_GUI int pty_slave_fd = -1; --- 4588,4593 ---- *************** *** 5174,5179 **** --- 5173,5179 ---- else if (has_mbyte) { int l; + char_u *p; len += buffer_off; buffer[len] = NUL; *** ../vim-8.0.1612/src/version.c 2018-03-16 22:54:47.342973089 +0100 --- src/version.c 2018-03-17 13:14:07.994431802 +0100 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1613, /**/ -- How To Keep A Healthy Level Of Insanity: 5. Put decaf in the coffee maker for 3 weeks. Once everyone has gotten over their caffeine addictions, switch to espresso. /// 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 ///