S60: Fix gcc warning.

This commit is contained in:
Christian Kandeler
2011-04-07 16:38:03 +02:00
parent d7dc745bca
commit f9467f916a

View 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