From b34e3e1a7b4a4010be45ae4d937ed0d4547b481c Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 4 May 2020 02:07:38 +0700 Subject: [PATCH] Remove unused code. --- src/crypto/randomx/dataset.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/crypto/randomx/dataset.cpp b/src/crypto/randomx/dataset.cpp index e80086a5f..38dc9f4ef 100644 --- a/src/crypto/randomx/dataset.cpp +++ b/src/crypto/randomx/dataset.cpp @@ -69,8 +69,6 @@ namespace randomx { template void deallocCache(randomx_cache* cache); void initCache(randomx_cache* cache, const void* key, size_t keySize) { - uint32_t memory_blocks, segment_length; - argon2_instance_t instance; argon2_context context; context.out = nullptr;