aboutsummaryrefslogtreecommitdiff
path: root/src/bench/base58.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-08-02 16:53:10 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-11-05 16:52:59 +0100
commit579497e77a3a71b2d8e44a6a3e00a8a46366d5c0 (patch)
treeb99adcefb692d49ab0efcf49df0382ee10b7bb46 /src/bench/base58.cpp
parent145fe95ec7a15c3796d5ed24521dde220edecbe0 (diff)
downloadbitcoin-579497e77a3a71b2d8e44a6a3e00a8a46366d5c0.tar.xz
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 a555376e40..e7702ec461 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);
}
}