mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-16 15:57:38 +00:00
Fix compile warning when WITH_RANDOMX=OFF
This commit is contained in:
parent
6d66051d92
commit
ef6011ac12
1 changed files with 1 additions and 1 deletions
|
@ -274,9 +274,9 @@ void xmrig::CpuWorker<N>::start()
|
|||
bool valid = true;
|
||||
|
||||
uint8_t miner_signature_saved[64];
|
||||
uint8_t* miner_signature_ptr = m_job.blob() + m_job.nonceOffset() + m_job.nonceSize();
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
uint8_t* miner_signature_ptr = m_job.blob() + m_job.nonceOffset() + m_job.nonceSize();
|
||||
if (job.algorithm().family() == Algorithm::RANDOM_X) {
|
||||
if (first) {
|
||||
first = false;
|
||||
|
|
Loading…
Reference in a new issue