Mercurial > vim
comparison src/eval.c @ 8126:0aa9cb77a8dd v7.4.1357
commit https://github.com/vim/vim/commit/132006c3d0f87dbda5f4d5410fcce312e4716f72
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 19 22:38:15 2016 +0100
patch 7.4.1357
Problem: Error for returning value from void function.
Solution: Don't do that.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 19 Feb 2016 22:45:05 +0100 |
parents | 310dd635e8c9 |
children | 9b2d25319c48 |
comparison
equal
deleted
inserted
replaced
8125:66c86117699a | 8126:0aa9cb77a8dd |
---|---|
10234 | 10234 |
10235 channel = get_channel_arg(&argvars[0]); | 10235 channel = get_channel_arg(&argvars[0]); |
10236 if (channel == NULL) | 10236 if (channel == NULL) |
10237 return; | 10237 return; |
10238 if (get_job_options(&argvars[1], &opt, JO_CALLBACK + JO_TIMEOUT) == FAIL) | 10238 if (get_job_options(&argvars[1], &opt, JO_CALLBACK + JO_TIMEOUT) == FAIL) |
10239 return NULL; | 10239 return; |
10240 channel_set_options(channel, &opt); | 10240 channel_set_options(channel, &opt); |
10241 } | 10241 } |
10242 | 10242 |
10243 /* | 10243 /* |
10244 * "ch_status()" function | 10244 * "ch_status()" function |