Skip to content

Commit

Permalink
tests: Explicitly ignore the return value of DecodeBase58(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Nov 5, 2018
1 parent 145fe95 commit 579497e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bench/base58.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 579497e

Please sign in to comment.