From bf2216c32bd7af8de77292b759c1b33ac3e72d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sat, 10 Mar 2018 11:49:27 +0100 Subject: Fix isRunningArmOnX86 unused function warning Change-Id: Ic51e85d2e6e24860f8e980a243a45ec4dc1253cd Reviewed-by: Simon Hausmann --- tests/shared/emulationdetector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h index ac584f121b..c8e78c9c54 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()) -- cgit v1.2.3