From 579497e77a3a71b2d8e44a6a3e00a8a46366d5c0 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Thu, 2 Aug 2018 16:53:10 +0200 Subject: [PATCH] tests: Explicitly ignore the return value of DecodeBase58(...) --- src/bench/base58.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 vch; while (state.KeepRunning()) { - DecodeBase58(addr, vch); + (void) DecodeBase58(addr, vch); } }