Imported Upstream version 3.5.1
[platform/upstream/ccache.git] / src / util.c
index 3a34e33..36d3b63 100644 (file)
@@ -215,13 +215,12 @@ cc_log_argv(const char *prefix, char **argv)
 }
 
 // Copy the current log memory buffer to an output file.
-bool
+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);
-       return true;
 }
 
 // Something went badly wrong!