1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

Unnecessary asserts are unnecessary.

This commit is contained in:
Teo Mrnjavac
2013-01-12 13:29:47 +01:00
committed by Dominik Schmidt
parent 07887a4ade
commit 259f496985

View File

@@ -511,7 +511,6 @@ Servent::readyRead()
foreach(ControlConnection* keepConnection, m_controlconnections) foreach(ControlConnection* keepConnection, m_controlconnections)
{ {
Q_ASSERT(keepConnection);
if( !keepConnection ) if( !keepConnection )
continue; continue;
@@ -1040,7 +1039,6 @@ Servent::connectedToSession( const QString& session )
{ {
foreach( ControlConnection* cc, m_controlconnections ) foreach( ControlConnection* cc, m_controlconnections )
{ {
Q_ASSERT( cc );
if( !cc ) if( !cc )
continue; continue;