summaryrefslogtreecommitdiffstats
path: root/xmrstak
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-10-13 16:42:55 +0100
committerfireice-uk <fireice-uk@users.noreply.github.com>2017-10-22 13:12:52 +0100
commit7fdaceee72dae5cceb265b528d5071ff5bf28e92 (patch)
treeba6bb38bba20c462c005b6569732d75d99ae2a43 /xmrstak
parentf13f70c28eb9e4b38d3b4932f5845f1d5cc01906 (diff)
downloadxmr-stak-7fdaceee72dae5cceb265b528d5071ff5bf28e92.zip
xmr-stak-7fdaceee72dae5cceb265b528d5071ff5bf28e92.tar.gz
Add return value
Diffstat (limited to 'xmrstak')
-rw-r--r--xmrstak/backend/globalStates.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmrstak/backend/globalStates.hpp b/xmrstak/backend/globalStates.hpp
index 2be06ae..855488d 100644
--- a/xmrstak/backend/globalStates.hpp
+++ b/xmrstak/backend/globalStates.hpp
@@ -37,6 +37,7 @@ struct globalStates
{
uint32_t debug_nonce = nicehash_nonce | iGlobalNonce.fetch_add(reserve_count);
printer::inst()->print_msg(L1, "DEBUG: start_nonce assigned nh: %.8x rc: %.8x nonce: %.8x", nicehash_nonce, reserve_count, debug_nonce);
+ return debug_nonce;
}
miner_work oGlobalWork;
OpenPOWER on IntegriCloud