To: vim_dev@googlegroups.com Subject: Patch 7.4.1593 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1593 Problem: Using channel timeout instead of request timeout. (Coverity) Solution: Remove the extra assignment. Files: src/channel.c *** ../vim-7.4.1592/src/channel.c 2016-03-15 23:19:10.499181350 +0100 --- src/channel.c 2016-03-19 13:47:35.305892208 +0100 *************** *** 2684,2690 **** 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) { --- 2684,2689 ---- *** ../vim-7.4.1592/src/version.c 2016-03-19 13:34:59.385814682 +0100 --- src/version.c 2016-03-19 13:48:23.953382274 +0100 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1593, /**/ -- hundred-and-one symptoms of being an internet addict: 82. AT&T names you Customer of the Month for the third consecutive time. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///