mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/CLI: Fix a possible crash in utf8print on linux. (Remove parsing non-existent va_args)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user