Skip to content

Commit 579497e

Browse files
tests: Explicitly ignore the return value of DecodeBase58(...)
1 parent 145fe95 commit 579497e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bench/base58.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static void Base58Decode(benchmark::State& state)
4949
const char* addr = "17VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem";
5050
std::vector<unsigned char> vch;
5151
while (state.KeepRunning()) {
52-
DecodeBase58(addr, vch);
52+
(void) DecodeBase58(addr, vch);
5353
}
5454
}
5555

0 commit comments

Comments
 (0)