Skip to content

Commit bb82762

Browse files
committed
patch 7.4.1798
Problem: Still compiler warning for unused return value. (Charles Campbell) Solution: Assign to ignoredp.
1 parent c61348e commit bb82762

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/term.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6177,7 +6177,7 @@ gui_get_color_cmn(char_u *name)
61776177
size_t len;
61786178
int pos;
61796179

6180-
(void)fgets(line, LINE_LEN, fd);
6180+
ignoredp = fgets(line, LINE_LEN, fd);
61816181
len = strlen(line);
61826182

61836183
if (len <= 1 || line[len - 1] != '\n')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ static char *(features[]) =
753753

754754
static int included_patches[] =
755755
{ /* Add new patch number below this line */
756+
/**/
757+
1798,
756758
/**/
757759
1797,
758760
/**/

0 commit comments

Comments
 (0)