1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Lots of small stuff

This commit is contained in:
Perttu Ahola 2011-01-08 19:35:14 +02:00
parent 340de48dbf
commit eb476f1ce2
5 changed files with 20 additions and 10 deletions

View file

@ -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]);
}