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:
committed by
Dominik Schmidt
parent
07887a4ade
commit
259f496985
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user