mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fixed build on Linux.
This commit is contained in:
parent
c7ac314110
commit
c27f535768
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue