fuzz_with_unicorn: Silence unused variable warning

Currently, structured bindings don't provide a way to ignore unused variables.
This commit is contained in:
Lioncash 2018-05-04 12:42:05 -04:00 committed by MerryMage
parent dcadaeba80
commit 0c63e8f396

View file

@ -124,6 +124,8 @@ static u32 GenFloatInst(u64 pc, bool is_last_inst) {
std::vector<InstructionGenerator> result;
for (const auto& [fn, name, bitstring] : list) {
(void)name;
if (fn[0] != 'F') {
continue;
} else if (std::find(do_not_test.begin(), do_not_test.end(), fn) != do_not_test.end()) {