mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 7.4.1357
Problem: Error for returning value from void function. Solution: Don't do that.
This commit is contained in:
@@ -10236,7 +10236,7 @@ f_ch_setoptions(typval_T *argvars, typval_T *rettv UNUSED)
|
|||||||
if (channel == NULL)
|
if (channel == NULL)
|
||||||
return;
|
return;
|
||||||
if (get_job_options(&argvars[1], &opt, JO_CALLBACK + JO_TIMEOUT) == FAIL)
|
if (get_job_options(&argvars[1], &opt, JO_CALLBACK + JO_TIMEOUT) == FAIL)
|
||||||
return NULL;
|
return;
|
||||||
channel_set_options(channel, &opt);
|
channel_set_options(channel, &opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -747,6 +747,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1357,
|
||||||
/**/
|
/**/
|
||||||
1356,
|
1356,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user