From eb476f1ce2c559136f8e7d652ebe3084a6ba8dc2 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 8 Jan 2011 19:35:14 +0200 Subject: Lots of small stuff --- src/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/debug.h') 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]); } -- cgit v1.2.3