diff options
author | Lioncash <[email protected]> | 2018-05-04 12:42:05 -0400 |
---|---|---|
committer | MerryMage <[email protected]> | 2020-04-22 20:46:17 +0100 |
commit | 0c63e8f39642fd1218358b268b0c10a733e6148c (patch) | |
tree | 806a5d9a5533416663b82595a7a4d71f86470079 /tests/A64/fuzz_with_unicorn.cpp | |
parent | dcadaeba8060205eed4f8b32d62e4083d9fbede4 (diff) | |
download | dynarmic-0c63e8f39642fd1218358b268b0c10a733e6148c.tar.gz dynarmic-0c63e8f39642fd1218358b268b0c10a733e6148c.zip |
fuzz_with_unicorn: Silence unused variable warning
Currently, structured bindings don't provide a way to ignore unused variables.
Diffstat (limited to 'tests/A64/fuzz_with_unicorn.cpp')
-rw-r--r-- | tests/A64/fuzz_with_unicorn.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/A64/fuzz_with_unicorn.cpp b/tests/A64/fuzz_with_unicorn.cpp index ae7fcfde..ff7c2186 100644 --- a/tests/A64/fuzz_with_unicorn.cpp +++ b/tests/A64/fuzz_with_unicorn.cpp @@ -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()) { |