vim-patch:7.4.649

Problem:    Compiler complains about ignoring return value of fwrite().
            (Michael Jarvis)
Solution:   Add (void).

cf48767cd1
This commit is contained in:
Shougo Matsushita 2015-11-29 17:06:50 +09:00
parent a03af86cc2
commit 1968f4898a
2 changed files with 2 additions and 2 deletions

View File

@ -470,7 +470,7 @@ void put_time(FILE *fd, time_t time_)
{
uint8_t buf[8];
time_to_bytes(time_, buf);
fwrite(buf, sizeof(uint8_t), ARRAY_SIZE(buf), fd);
(void)fwrite(buf, sizeof(uint8_t), ARRAY_SIZE(buf), fd);
}
/// Writes time_t to "buf[8]".

View File

@ -347,7 +347,7 @@ static int included_patches[] = {
// 652 NA
651,
// 650 NA
// 649,
649,
// 648 NA
// 647 NA
646,