0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.1534

Problem:    Compiler warning for shadowed variable. (Kazunobu Kuriyama)
Solution:   Rename it.
This commit is contained in:
Bram Moolenaar
2016-03-11 18:52:22 +01:00
parent 74c5bbf134
commit 846cdb2275
2 changed files with 5 additions and 3 deletions

View File

@@ -15197,13 +15197,13 @@ f_job_start(typval_T *argvars, typval_T *rettv)
return;
if (buf->b_ml.ml_mfp == NULL)
{
char_u buf[NUMBUFLEN];
char_u numbuf[NUMBUFLEN];
char_u *s;
if (opt.jo_set & JO_IN_BUF)
{
sprintf((char *)buf, "%d", opt.jo_io_buf[PART_IN]);
s = buf;
sprintf((char *)numbuf, "%d", opt.jo_io_buf[PART_IN]);
s = numbuf;
}
else
s = opt.jo_io_name[PART_IN];