From: Bram Moolenaar Date: Fri, 29 Apr 2016 20:33:27 +0000 (+0200) Subject: patch 7.4.1798 X-Git-Tag: v7.4.1798 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb82762907ba024717ad9af3b229c2fa6405cd36;p=thirdparty%2Fvim.git patch 7.4.1798 Problem: Still compiler warning for unused return value. (Charles Campbell) Solution: Assign to ignoredp. --- diff --git a/src/term.c b/src/term.c index cc9d7ad090..3c8c0fa02b 100644 --- a/src/term.c +++ b/src/term.c @@ -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') diff --git a/src/version.c b/src/version.c index 4fb17c4408..44f37a7fc6 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1798, /**/ 1797, /**/