mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-22 18:54:43 +00:00
Fixed build without benchmark.
This commit is contained in:
parent
4d6b384c16
commit
3bbe3fa481
1 changed files with 1 additions and 1 deletions
|
@ -262,9 +262,9 @@ void xmrig::Network::setJob(IClient *client, const Job &job, bool donate)
|
|||
{
|
||||
uint64_t diff = job.diff();;
|
||||
const char *scale = NetworkState::scaleDiff(diff);
|
||||
const uint32_t size = job.benchSize();
|
||||
|
||||
# ifdef XMRIG_FEATURE_BENCHMARK
|
||||
const uint32_t size = job.benchSize();
|
||||
if (size) {
|
||||
LOG_NOTICE("%s " MAGENTA_BOLD("start benchmark ") "hashes " CYAN_BOLD("%u%s") " algo " WHITE_BOLD("%s") " print_time " CYAN_BOLD("%us"),
|
||||
Tags::bench(),
|
||||
|
|
Loading…
Reference in a new issue