From 77ec8108a10a8d372bed6298e22c89d7de651577 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Tue, 20 Dec 2011 15:20:04 +0000 Subject: 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. --- notmuch-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notmuch-show.c') 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); -- cgit v1.2.3