diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-29 22:33:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-29 22:33:27 +0200 |
commit | bb82762907ba024717ad9af3b229c2fa6405cd36 (patch) | |
tree | bd20900accf33bdad771c19aaed19c819e797ae4 /src | |
parent | c61348e83fd4eed8b999fe5b7cdfb4caf90bf3fd (diff) | |
download | vim-bb82762907ba024717ad9af3b229c2fa6405cd36.zip |
patch 7.4.1798
Problem: Still compiler warning for unused return value. (Charles Campbell)
Solution: Assign to ignoredp.
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index cc9d7ad09..3c8c0fa02 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 4fb17c440..44f37a7fc 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1798, +/**/ 1797, /**/ 1796, |