Core/CLI: Fix a possible crash in utf8print on linux. (Remove parsing non-existent va_args)

This commit is contained in:
Machiavelli
2011-07-29 15:01:26 +02:00
parent 981e3540c8
commit 3d56bd5eb8

View File

@@ -104,9 +104,7 @@ void utf8print(void* /*arg*/, const char* str)
printf(temp_buf);
#else
{
va_list v;
vprintf(str, v);
va_end(v);
printf(str);
fflush(stdout);
}
#endif