projects
/
vim
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c2afb
)
updated for version 7.4.649
v7.4.649
author
Bram Moolenaar
<Bram@vim.org>
Thu, 5 Mar 2015 12:36:00 +0000
(13:36 +0100)
committer
Bram Moolenaar
<Bram@vim.org>
Thu, 5 Mar 2015 12:36:00 +0000
(13:36 +0100)
Problem: Compiler complains about ignoring return value of fwrite().
(Michael Jarvis)
Solution: Add (void).
src/misc2.c
patch
|
blob
|
history
src/version.c
patch
|
blob
|
history
diff --git
a/src/misc2.c
b/src/misc2.c
index 8f19578df69c22e969c88b42d4192711e6d391b5..acb04b616076924f2e3176c5d2c0239d8b8f4585 100644
(file)
--- a/
src/misc2.c
+++ b/
src/misc2.c
@@
-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);
}
/*
diff --git
a/src/version.c
b/src/version.c
index ac5f6770dea32a849adb5b5fb55ce04babacc7ae..439745612a328a05ca0282354b0a1c39e735d838 100644
(file)
--- a/
src/version.c
+++ b/
src/version.c
@@
-741,6
+741,8
@@
static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 649,
/**/
648,
/**/