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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui