updated for version 7.4.649 v7.4.649
authorBram Moolenaar <Bram@vim.org>
Thu, 5 Mar 2015 12:36:00 +0000 (13:36 +0100)
committerBram 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
src/version.c

index 8f19578df69c22e969c88b42d4192711e6d391b5..acb04b616076924f2e3176c5d2c0239d8b8f4585 100644 (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);
 }
 
 /*
index ac5f6770dea32a849adb5b5fb55ce04babacc7ae..439745612a328a05ca0282354b0a1c39e735d838 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    649,
 /**/
     648,
 /**/