[Telepathy-commits] [telepathy-qt4/master] Channel: Removed Q_ASSERT(false) from changeReadiness(ReadinessDead).

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Jan 27 13:53:35 PST 2009


Removed Q_ASSERT(false) from changeReadiness(ReadinessDead), this is needed
because when the connection is invalidated and the channel is not
yet dead it will call changeReadiness(ReadinessDead) that will assert.
---
 TelepathyQt4/Client/channel.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/Client/channel.cpp b/TelepathyQt4/Client/channel.cpp
index 6980517..6dfe998 100644
--- a/TelepathyQt4/Client/channel.cpp
+++ b/TelepathyQt4/Client/channel.cpp
@@ -420,7 +420,6 @@ void Channel::Private::changeReadiness(Readiness newReadiness)
         case ReadinessDead:
         case ReadinessClosed:
         default:
-            Q_ASSERT(false);
             break;
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list