summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usbhid-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c
index dab371d..7fdcad3 100644
--- a/src/usbhid-dump.c
+++ b/src/usbhid-dump.c
@@ -153,7 +153,7 @@ dump(const uhd_iface *iface,
buf[1] = xd[b >> 4];
buf[2] = xd[b & 0xF];
- fwrite(buf, ((pos % 16 == 0) ? 4 : 3), 1, stdout);
+ (void)fwrite(buf, ((pos % 16 == 0) ? 4 : 3), 1, stdout);
}
if (pos % 16 != 1)