Skip to content

Commit

Permalink
patch 8.0.1613: warning for unused variable in tiny build
Browse files Browse the repository at this point in the history
Problem:    Warning for unused variable in tiny build. (Tony Mechelynck)
Solution:   Move declaration to inner block.
  • Loading branch information
brammool committed Mar 17, 2018
1 parent 1dd9833 commit a2150ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/os_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -5174,6 +5173,7 @@ mch_call_shell_fork(
else if (has_mbyte)
{
int l;
char_u *p;

len += buffer_off;
buffer[len] = NUL;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1613,
/**/
1612,
/**/
Expand Down

0 comments on commit a2150ac

Please sign in to comment.