0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1593

Problem:    Using channel timeout instead of request timeout. (Coverity)
Solution:   Remove the extra assignment.
This commit is contained in:
Bram Moolenaar 2016-03-19 13:49:43 +01:00
parent 0899d69803
commit a889cf4642
2 changed files with 2 additions and 1 deletions

View File

@ -2684,7 +2684,6 @@ ch_expr_common(typval_T *argvars, typval_T *rettv, int eval)
timeout = opt.jo_timeout;
else
timeout = channel_get_timeout(channel, part_read);
timeout = channel_get_timeout(channel, part_read);
if (channel_read_json_block(channel, part_read, timeout, id, &listtv)
== OK)
{

View File

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