Fixed build on Linux.

This commit is contained in:
XMRig 2021-08-25 18:52:54 +07:00
parent c7ac314110
commit c27f535768
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -231,7 +231,7 @@ void xmrig::Log::print(const char *fmt, ...)
return;
}
va_list args = nullptr;
va_list args{};
va_start(args, fmt);
d->print(NONE, fmt, args);
@ -246,7 +246,7 @@ void xmrig::Log::print(Level level, const char *fmt, ...)
return;
}
va_list args = nullptr;
va_list args{};
va_start(args, fmt);
d->print(level, fmt, args);