To: vim_dev@googlegroups.com Subject: Patch 7.4.1798 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1798 Problem: Still compiler warning for unused return value. (Charles Campbell) Solution: Assign to ignoredp. Files: src/term.c *** ../vim-7.4.1797/src/term.c 2016-04-28 22:19:58.782624045 +0200 --- src/term.c 2016-04-29 22:30:21.662347663 +0200 *************** *** 6177,6183 **** size_t len; int pos; ! (void)fgets(line, LINE_LEN, fd); len = strlen(line); if (len <= 1 || line[len - 1] != '\n') --- 6177,6183 ---- size_t len; int pos; ! ignoredp = fgets(line, LINE_LEN, fd); len = strlen(line); if (len <= 1 || line[len - 1] != '\n') *** ../vim-7.4.1797/src/version.c 2016-04-28 22:19:58.786623999 +0200 --- src/version.c 2016-04-29 22:32:08.205114131 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1798, /**/ -- Shaw's Principle: Build a system that even a fool can use, and only a fool will want to use it. /// 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 ///