0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 7.4.1357

Problem:    Error for returning value from void function.
Solution:   Don't do that.
This commit is contained in:
Bram Moolenaar
2016-02-19 22:38:15 +01:00
parent 40ea1da14b
commit 132006c3d0
2 changed files with 3 additions and 1 deletions

View File

@@ -10236,7 +10236,7 @@ f_ch_setoptions(typval_T *argvars, typval_T *rettv UNUSED)
if (channel == NULL)
return;
if (get_job_options(&argvars[1], &opt, JO_CALLBACK + JO_TIMEOUT) == FAIL)
return NULL;
return;
channel_set_options(channel, &opt);
}

View File

@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1357,
/**/
1356,
/**/