diff options
author | Jose <jose@zeroc.com> | 2018-06-04 19:51:33 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-06-04 19:51:33 +0200 |
commit | 3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06 (patch) | |
tree | caf958b1eb41e5157f5851b3570eba579aeaef35 /cpp/test/Common/TestHelper.cpp | |
parent | Register IceWS plug-in with IceSSL/configuration static builds (diff) | |
download | ice-3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06.tar.bz2 ice-3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06.tar.xz ice-3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06.zip |
Fix TestHelper unused variable with iOS build
Diffstat (limited to 'cpp/test/Common/TestHelper.cpp')
-rw-r--r-- | cpp/test/Common/TestHelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |