From 824fc105c5c01f3c536bab02ad3d60211e09c757 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 12 Jan 2017 18:17:25 +0100 Subject: [PATCH] Fixing warning Change-Id: I92236680f34b6620c2371a1d9f1d1dcde8ba9282 Reviewed-by: Eike Ziller --- src/plugins/ios/iostoolhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp index 64c362de47f..0f6a4e850cd 100644 --- a/src/plugins/ios/iostoolhandler.cpp +++ b/src/plugins/ios/iostoolhandler.cpp @@ -937,6 +937,8 @@ void IosSimulatorToolHandlerPrivate::launchAppOnSimulator(const QStringList &ext // Poll every 1 sec to check whether the app is running. QThread::msleep(1000); } while (!fi.isCanceled() && kill(pid, 0) == 0); +#else + Q_UNUSED(pid); #endif // Future is cancelled if the app is stopped from the qt creator. if (!fi.isCanceled())