mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
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:
parent
a03af86cc2
commit
1968f4898a
@ -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]".
|
||||
|
@ -347,7 +347,7 @@ static int included_patches[] = {
|
||||
// 652 NA
|
||||
651,
|
||||
// 650 NA
|
||||
// 649,
|
||||
649,
|
||||
// 648 NA
|
||||
// 647 NA
|
||||
646,
|
||||
|
Loading…
Reference in New Issue
Block a user