From 1e73c52dd59320032798e50f3734cedd662c20e6 Mon Sep 17 00:00:00 2001 From: Vikas Pachdha Date: Mon, 9 Jan 2017 12:43:00 +0100 Subject: [PATCH] Fix compile warning COMMAND_TIMEOUT is not needed and will not be emitted Change-Id: Id89aaa8c0b774a962e7a4e813a5b3d3e6a37524d Reviewed-by: Eike Ziller --- src/plugins/ios/simulatorcontrol.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/ios/simulatorcontrol.cpp b/src/plugins/ios/simulatorcontrol.cpp index 232e3d01ceb..45dce5bacc1 100644 --- a/src/plugins/ios/simulatorcontrol.cpp +++ b/src/plugins/ios/simulatorcontrol.cpp @@ -53,11 +53,10 @@ Q_LOGGING_CATEGORY(simulatorLog, "qtc.ios.simulator") namespace Ios { namespace Internal { -static int COMMAND_TIMEOUT = 10000; static int SIMULATOR_START_TIMEOUT = 60000; static QString SIM_UDID_TAG = QStringLiteral("SimUdid"); -static bool checkForTimeout(const chrono::high_resolution_clock::time_point &start, int msecs = COMMAND_TIMEOUT) +static bool checkForTimeout(const chrono::high_resolution_clock::time_point &start, int msecs = 10000) { bool timedOut = false; auto end = chrono::high_resolution_clock::now();