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:
parent
340de48dbf
commit
eb476f1ce2
5 changed files with 20 additions and 10 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue