diff options
author | David Edmondson <dme@dme.org> | 2011-12-20 15:20:04 +0000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-21 07:32:16 -0400 |
commit | 77ec8108a10a8d372bed6298e22c89d7de651577 (patch) | |
tree | 82d815bde160591e647b5d19f26ae4ee519d7113 /notmuch-show.c | |
parent | e3260d025389c2e98dbda58cff1c214497813bc2 (diff) |
notmuch: Quiet buildbot warnings.
Cast away the result of various *write functions. Provide a default
value for some variables to avoid "use before set" warnings.
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index 8da3295e..19fb49f2 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -866,7 +866,7 @@ do_show_single (void *ctx, while (!feof (file)) { size = fread (buf, 1, sizeof (buf), file); - fwrite (buf, size, 1, stdout); + (void) fwrite (buf, size, 1, stdout); } fclose (file); |