diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h index ac584f121bf..c8e78c9c54b 100644 --- a/tests/shared/emulationdetector.h +++ b/tests/shared/emulationdetector.h @@ -59,7 +59,7 @@ static bool isReportedArchitectureX86(void); * Currently this is only able to check on Linux. If not able to * detect, return false. */ -static bool isRunningArmOnX86() +static Q_DECL_UNUSED bool isRunningArmOnX86() { #ifdef SHOULD_CHECK_ARM_ON_X86 if (isX86SpecificFileAvailable())