0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.649

Problem:    Compiler complains about ignoring return value of fwrite().
            (Michael Jarvis)
Solution:   Add (void).
This commit is contained in:
Bram Moolenaar
2015-03-05 13:36:00 +01:00
parent f3c2afb77f
commit cf48767cd1
2 changed files with 3 additions and 1 deletions

View File

@@ -6286,7 +6286,7 @@ put_time(fd, the_time)
char_u buf[8];
time_to_bytes(the_time, buf);
fwrite(buf, (size_t)8, (size_t)1, fd);
(void)fwrite(buf, (size_t)8, (size_t)1, fd);
}
/*