We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 090d877 + 1cdc2a6 commit 476436bCopy full SHA for 476436b
src/test/fuzz/addrdb.cpp
@@ -17,6 +17,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
17
{
18
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
19
20
+ // The point of this code is to exercise all CBanEntry constructors.
21
const CBanEntry ban_entry = [&] {
22
switch (fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 2)) {
23
case 0:
@@ -32,4 +33,5 @@ void test_one_input(const std::vector<uint8_t>& buffer)
32
33
}
34
return CBanEntry{};
35
}();
36
+ (void)ban_entry; // currently unused
37
0 commit comments