mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix warning
This commit is contained in:
parent
b039d9d4d1
commit
1338adea41
@ -197,7 +197,7 @@ void dbg_printf(const char* fmt, ...)
|
||||
|
||||
g_dbg_log_rotate = !g_dbg_log_rotate;
|
||||
|
||||
if (g_dbg_log_file = freopen(filename, "w", g_dbg_log_file))
|
||||
if ((g_dbg_log_file = freopen(filename, "w", g_dbg_log_file)))
|
||||
{
|
||||
setvbuf(g_dbg_log_file, NULL, _IOLBF, 1024);
|
||||
}
|
||||
@ -206,8 +206,6 @@ void dbg_printf(const char* fmt, ...)
|
||||
if (g_dbg_log_file)
|
||||
{
|
||||
va_list args;
|
||||
int ret;
|
||||
|
||||
SYSTEMTIME st;
|
||||
GetLocalTime(&st);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user