From 3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 4 Jun 2018 19:51:33 +0200 Subject: Fix TestHelper unused variable with iOS build --- cpp/test/Common/TestHelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/test/Common/TestHelper.cpp') diff --git a/cpp/test/Common/TestHelper.cpp b/cpp/test/Common/TestHelper.cpp index ef2f0e897b8..765686bdcc4 100644 --- a/cpp/test/Common/TestHelper.cpp +++ b/cpp/test/Common/TestHelper.cpp @@ -10,8 +10,8 @@ namespace { IceUtil::Mutex* globalMutex = 0; +#if !defined(ICE_OS_UWP) && (!defined(__APPLE__) || TARGET_OS_IPHONE == 0) Test::TestHelper* instance = 0; -#ifndef ICE_OS_UWP IceUtil::CtrlCHandler* ctrlCHandler = 0; #endif @@ -28,7 +28,7 @@ public: { delete globalMutex; globalMutex = 0; -#ifndef ICE_OS_UWP +#if !defined(ICE_OS_UWP) && (!defined(__APPLE__) || TARGET_OS_IPHONE == 0) if(ctrlCHandler) { delete ctrlCHandler; -- cgit v1.2.3