Skip to content

Commit 132006c

Browse files
committed
patch 7.4.1357
Problem: Error for returning value from void function. Solution: Don't do that.
1 parent 40ea1da commit 132006c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10236,7 +10236,7 @@ f_ch_setoptions(typval_T *argvars, typval_T *rettv UNUSED)
1023610236
if (channel == NULL)
1023710237
return;
1023810238
if (get_job_options(&argvars[1], &opt, JO_CALLBACK + JO_TIMEOUT) == FAIL)
10239-
return NULL;
10239+
return;
1024010240
channel_set_options(channel, &opt);
1024110241
}
1024210242

src/version.c

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

748748
static int included_patches[] =
749749
{ /* Add new patch number below this line */
750+
/**/
751+
1357,
750752
/**/
751753
1356,
752754
/**/

0 commit comments

Comments
 (0)