Remove UNUSED macro

This commit is contained in:
MerryMage 2017-11-28 19:44:33 +00:00
parent 7cac9519b0
commit 3141dadea9
2 changed files with 1 additions and 4 deletions

View file

@ -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__](){})

View file

@ -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();
}