summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-03-10 11:49:27 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-02-03 15:03:51 +0100
commitbf2216c32bd7af8de77292b759c1b33ac3e72d56 (patch)
tree8d9d9f0616eb887ad65eca0df6ab6b8451337931
parent27db9e458cef512fca3a6b5c9ebbcda7a8172428 (diff)
Fix isRunningArmOnX86 unused function warning
Change-Id: Ic51e85d2e6e24860f8e980a243a45ec4dc1253cd Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--tests/shared/emulationdetector.h2
1 files changed, 1 insertions, 1 deletions
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())