aboutsummaryrefslogtreecommitdiff
path: root/src/bench/base58.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2018-08-02 16:53:10 +0200
committerpracticalswift <[email protected]>2018-11-05 16:52:59 +0100
commit579497e77a3a71b2d8e44a6a3e00a8a46366d5c0 (patch)
treeb99adcefb692d49ab0efcf49df0382ee10b7bb46 /src/bench/base58.cpp
parenttests: Check return value of ParseParameters(...) (diff)
downloaddiscoin-579497e77a3a71b2d8e44a6a3e00a8a46366d5c0.tar.xz
discoin-579497e77a3a71b2d8e44a6a3e00a8a46366d5c0.zip
tests: Explicitly ignore the return value of DecodeBase58(...)
Diffstat (limited to 'src/bench/base58.cpp')
-rw-r--r--src/bench/base58.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp
index a555376e4..e7702ec46 100644
--- a/src/bench/base58.cpp
+++ b/src/bench/base58.cpp
@@ -49,7 +49,7 @@ static void Base58Decode(benchmark::State& state)
const char* addr = "17VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem";
std::vector<unsigned char> vch;
while (state.KeepRunning()) {
- DecodeBase58(addr, vch);
+ (void) DecodeBase58(addr, vch);
}
}