fuzz_with_unicorn: Silence unused variable warning
Currently, structured bindings don't provide a way to ignore unused variables.
This commit is contained in:
parent
dcadaeba80
commit
0c63e8f396
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ static u32 GenFloatInst(u64 pc, bool is_last_inst) {
|
||||||
std::vector<InstructionGenerator> result;
|
std::vector<InstructionGenerator> result;
|
||||||
|
|
||||||
for (const auto& [fn, name, bitstring] : list) {
|
for (const auto& [fn, name, bitstring] : list) {
|
||||||
|
(void)name;
|
||||||
|
|
||||||
if (fn[0] != 'F') {
|
if (fn[0] != 'F') {
|
||||||
continue;
|
continue;
|
||||||
} else if (std::find(do_not_test.begin(), do_not_test.end(), fn) != do_not_test.end()) {
|
} else if (std::find(do_not_test.begin(), do_not_test.end(), fn) != do_not_test.end()) {
|
||||||
|
|
Loading…
Reference in a new issue