aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/A64/fuzz_with_unicorn.cpp
diff options
context:
space:
mode:
authorLioncash <[email protected]>2018-05-04 12:42:05 -0400
committerMerryMage <[email protected]>2020-04-22 20:46:17 +0100
commit0c63e8f39642fd1218358b268b0c10a733e6148c (patch)
tree806a5d9a5533416663b82595a7a4d71f86470079 /tests/A64/fuzz_with_unicorn.cpp
parentdcadaeba8060205eed4f8b32d62e4083d9fbede4 (diff)
downloaddynarmic-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.cpp2
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()) {