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

patch 7.4.1798

Problem:    Still compiler warning for unused return value. (Charles Campbell)
Solution:   Assign to ignoredp.
This commit is contained in:
Bram Moolenaar 2016-04-29 22:33:27 +02:00
parent c61348e83f
commit bb82762907
2 changed files with 3 additions and 1 deletions

View File

@ -6177,7 +6177,7 @@ gui_get_color_cmn(char_u *name)
size_t len;
int pos;
(void)fgets(line, LINE_LEN, fd);
ignoredp = fgets(line, LINE_LEN, fd);
len = strlen(line);
if (len <= 1 || line[len - 1] != '\n')

View File

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