summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h
index 8faa65eb8..1973bb510 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -76,7 +76,7 @@ public:
if(g_debugstreams[i] == stderr && m_disable_stderr)
continue;
if(g_debugstreams[i] != NULL)
- fwrite(&c, 1, 1, g_debugstreams[i]);
+ (void)fwrite(&c, 1, 1, g_debugstreams[i]);
//TODO: Is this slow?
fflush(g_debugstreams[i]);
}
@@ -90,7 +90,7 @@ public:
if(g_debugstreams[i] == stderr && m_disable_stderr)
continue;
if(g_debugstreams[i] != NULL)
- fwrite(s, 1, n, g_debugstreams[i]);
+ (void)fwrite(s, 1, n, g_debugstreams[i]);
//TODO: Is this slow?
fflush(g_debugstreams[i]);
}