Skip to content

Commit a2150ac

Browse files
committed
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.
1 parent 1dd9833 commit a2150ac

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/os_unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4588,7 +4588,6 @@ mch_call_shell_fork(
45884588
char_u *tofree1 = NULL;
45894589
char_u *tofree2 = NULL;
45904590
int i;
4591-
char_u *p;
45924591
int pty_master_fd = -1; /* for pty's */
45934592
# ifdef FEAT_GUI
45944593
int pty_slave_fd = -1;
@@ -5174,6 +5173,7 @@ mch_call_shell_fork(
51745173
else if (has_mbyte)
51755174
{
51765175
int l;
5176+
char_u *p;
51775177

51785178
len += buffer_off;
51795179
buffer[len] = NUL;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ static char *(features[]) =
766766

767767
static int included_patches[] =
768768
{ /* Add new patch number below this line */
769+
/**/
770+
1613,
769771
/**/
770772
1612,
771773
/**/

0 commit comments

Comments
 (0)