diff options
-rw-r--r-- | src/hash.c | 4 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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); } } @@ -219,7 +219,7 @@ void cc_dump_log_buffer(const char *path) { FILE *file = fopen(path, "w"); - fwrite(logbuffer, 1, logsize, file); + (void) fwrite(logbuffer, 1, logsize, file); fclose(file); } |