mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -6177,7 +6177,7 @@ gui_get_color_cmn(char_u *name)
|
|||||||
size_t len;
|
size_t len;
|
||||||
int pos;
|
int pos;
|
||||||
|
|
||||||
(void)fgets(line, LINE_LEN, fd);
|
ignoredp = fgets(line, LINE_LEN, fd);
|
||||||
len = strlen(line);
|
len = strlen(line);
|
||||||
|
|
||||||
if (len <= 1 || line[len - 1] != '\n')
|
if (len <= 1 || line[len - 1] != '\n')
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1798,
|
||||||
/**/
|
/**/
|
||||||
1797,
|
1797,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user