changeset 13478:601d797cca88 v8.0.1613

patch 8.0.1613: warning for unused variable in tiny build commit https://github.com/vim/vim/commit/a2150ac01643ef99b0e7b2273c6ad84ce79c8f90 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 17 13:15:17 2018 +0100 patch 8.0.1613: warning for unused variable in tiny build Problem: Warning for unused variable in tiny build. (Tony Mechelynck) Solution: Move declaration to inner block.
author Christian Brabandt <cb@256bit.org>
date Sat, 17 Mar 2018 13:30:07 +0100
parents 5ea11b4321e5
children 67a7c0db66ff
files src/os_unix.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4588,7 +4588,6 @@ mch_call_shell_fork(
     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;
@@ -5174,6 +5173,7 @@ mch_call_shell_fork(
 			else if (has_mbyte)
 			{
 			    int		l;
+			    char_u	*p;
 
 			    len += buffer_off;
 			    buffer[len] = NUL;
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1613,
+/**/
     1612,
 /**/
     1611,