summaryrefslogtreecommitdiff
path: root/src/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.c b/src/hash.c
index 8a92085f..ae303322 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -32,7 +32,7 @@ do_hash_buffer(struct hash *hash, const void *s, size_t len)
{
mdfour_update(&hash->md, (const unsigned char *)s, len);
if (len > 0 && hash->debug_binary) {
- fwrite(s, 1, len, hash->debug_binary);
+ (void) fwrite(s, 1, len, hash->debug_binary);
}
}
@@ -40,7 +40,7 @@ static void
do_debug_text(struct hash *hash, const void *s, size_t len)
{
if (len > 0 && hash->debug_text) {
- fwrite(s, 1, len, hash->debug_text);
+ (void) fwrite(s, 1, len, hash->debug_text);
}
}