From 7eaf40a4c1fa7d3dc640f855026d9b3d01c34a17 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 21 Jul 2015 10:11:26 +0200 Subject: [PATCH] Fix clang warnings, my version. Closes #2525 --- libethcore/EthashCPUMiner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libethcore/EthashCPUMiner.cpp b/libethcore/EthashCPUMiner.cpp index 2e8a05018..f14c7b625 100644 --- a/libethcore/EthashCPUMiner.cpp +++ b/libethcore/EthashCPUMiner.cpp @@ -35,6 +35,7 @@ using namespace eth; unsigned EthashCPUMiner::s_numInstances = 0; +#if ETH_CPUID || !ETH_TRUE static string jsonEncode(map const& _m) { string ret = "{"; @@ -50,6 +51,7 @@ static string jsonEncode(map const& _m) return ret + "}"; } +#endif void EthashCPUMiner::workLoop() {