From 3975525b36341105c1e01c939bf20e33b9b87bb9 Mon Sep 17 00:00:00 2001 From: amerhifi Date: Tue, 14 May 2019 14:50:32 -0700 Subject: [PATCH] trying a different method since ubuntu is still seeing them as unused --- libraries/platform/src/platformJsonKeys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/platform/src/platformJsonKeys.h b/libraries/platform/src/platformJsonKeys.h index a597d887f7..221a0180fe 100644 --- a/libraries/platform/src/platformJsonKeys.h +++ b/libraries/platform/src/platformJsonKeys.h @@ -12,7 +12,7 @@ namespace platform { namespace jsonKeys{ -#ifndef Q_OS_LINUX //hiding from linux at the moment due to unused variables warning +#if !defined(Q_OS_LINUX) //hiding from linux at the moment due to unused variables warning static const char* cpuBrand= "cpuBrand"; static const char* cpuModel = "cpuModel"; static const char* cpuClockSpeed = "clockSpeed";