Skip to content

Commit 846cdb2

Browse files
committed
patch 7.4.1534
Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) Solution: Rename it.
1 parent 74c5bbf commit 846cdb2

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/eval.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15197,13 +15197,13 @@ f_job_start(typval_T *argvars, typval_T *rettv)
1519715197
return;
1519815198
if (buf->b_ml.ml_mfp == NULL)
1519915199
{
15200-
char_u buf[NUMBUFLEN];
15200+
char_u numbuf[NUMBUFLEN];
1520115201
char_u *s;
1520215202

1520315203
if (opt.jo_set & JO_IN_BUF)
1520415204
{
15205-
sprintf((char *)buf, "%d", opt.jo_io_buf[PART_IN]);
15206-
s = buf;
15205+
sprintf((char *)numbuf, "%d", opt.jo_io_buf[PART_IN]);
15206+
s = numbuf;
1520715207
}
1520815208
else
1520915209
s = opt.jo_io_name[PART_IN];

src/version.c

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

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1534,
746748
/**/
747749
1533,
748750
/**/

0 commit comments

Comments
 (0)