Mercurial > vim
comparison src/misc2.c @ 6649:8bee881c3ca5 v7.4.649
updated for version 7.4.649
Problem: Compiler complains about ignoring return value of fwrite().
(Michael Jarvis)
Solution: Add (void).
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Mar 2015 13:36:00 +0100 |
parents | 75444015837a |
children | ec46a5ca1b51 |
comparison
equal
deleted
inserted
replaced
6648:099f8b730941 | 6649:8bee881c3ca5 |
---|---|
6284 time_t the_time; | 6284 time_t the_time; |
6285 { | 6285 { |
6286 char_u buf[8]; | 6286 char_u buf[8]; |
6287 | 6287 |
6288 time_to_bytes(the_time, buf); | 6288 time_to_bytes(the_time, buf); |
6289 fwrite(buf, (size_t)8, (size_t)1, fd); | 6289 (void)fwrite(buf, (size_t)8, (size_t)1, fd); |
6290 } | 6290 } |
6291 | 6291 |
6292 /* | 6292 /* |
6293 * Write time_t to "buf[8]". | 6293 * Write time_t to "buf[8]". |
6294 */ | 6294 */ |