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:
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -747,6 +747,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1357,
|
||||
/**/
|
||||
1356,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user