OSDN Git Service

S60: Fix gcc warning.
authorChristian Kandeler <christian.kandeler@nokia.com>
Thu, 7 Apr 2011 14:38:03 +0000 (16:38 +0200)
committerChristian Kandeler <christian.kandeler@nokia.com>
Thu, 7 Apr 2011 14:38:03 +0000 (16:38 +0200)
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp

index 4494d66..de29639 100644 (file)
@@ -358,8 +358,9 @@ void S60DeployStep::setupConnections()
 
 void S60DeployStep::startDeployment()
 {
-    if (m_channel == S60DeployConfiguration::CommunicationTrkSerialConnection)
+    if (m_channel == S60DeployConfiguration::CommunicationTrkSerialConnection) {
         QTC_ASSERT(m_launcher, return);
+    }
     QTC_ASSERT(!m_codaDevice.data(), return);
 
     // We need to defer setupConnections() in the case of CommunicationCodaSerialConnection