diff --git a/src/common/common_types.h b/src/common/common_types.h index 06897167..005541f9 100644 --- a/src/common/common_types.h +++ b/src/common/common_types.h @@ -27,5 +27,3 @@ using f32 = float; using f64 = double; static_assert(sizeof(f32) == sizeof(u32), "f32 must be 32 bits wide"); static_assert(sizeof(f64) == sizeof(u64), "f64 must be 64 bits wide"); - -#define UNUSED(...) (void)([__VA_ARGS__](){}) diff --git a/src/frontend/translate/translate_arm/exception_generating.cpp b/src/frontend/translate/translate_arm/exception_generating.cpp index a808b00c..4180325d 100644 --- a/src/frontend/translate/translate_arm/exception_generating.cpp +++ b/src/frontend/translate/translate_arm/exception_generating.cpp @@ -9,8 +9,7 @@ namespace Dynarmic { namespace Arm { -bool ArmTranslatorVisitor::arm_BKPT(Cond cond, Imm12 imm12, Imm4 imm4) { - UNUSED(cond, imm12, imm4); +bool ArmTranslatorVisitor::arm_BKPT(Cond /*cond*/, Imm12 /*imm12*/, Imm4 /*imm4*/) { return InterpretThisInstruction(); }