Suppress a gcc warning from ignoring fwrite return in http-sample.c

Found by Steve Snyder
This commit is contained in:
Nick Mathewson 2012-01-16 14:45:31 -05:00
parent cba48c7d46
commit 7206e8cdd4

View File

@ -134,7 +134,7 @@ dump_request_cb(struct evhttp_request *req, void *arg)
char cbuf[128];
n = evbuffer_remove(buf, cbuf, sizeof(buf)-1);
if (n > 0)
fwrite(cbuf, 1, n, stdout);
(void) fwrite(cbuf, 1, n, stdout);
}
puts(">>>");