forked from aniani/vim
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.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user