summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-08 19:35:14 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-08 19:35:14 +0200
commiteb476f1ce2c559136f8e7d652ebe3084a6ba8dc2 (patch)
tree6e88df245a5651b535b4b2eab72d54a90d034509 /src/debug.h
parent340de48dbfc5e9aecb6ef540b3d5d3e333bbbaa4 (diff)
downloadminetest-eb476f1ce2c559136f8e7d652ebe3084a6ba8dc2.tar.gz
minetest-eb476f1ce2c559136f8e7d652ebe3084a6ba8dc2.tar.bz2
minetest-eb476f1ce2c559136f8e7d652ebe3084a6ba8dc2.zip
Lots of small stuff
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]);
}