mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 04:19:10 -04:00
Suppress a gcc warning from ignoring fwrite return in http-sample.c
Found by Steve Snyder
This commit is contained in:
parent
cba48c7d46
commit
7206e8cdd4
@ -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(">>>");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user