diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-04 12:30:51 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-04 12:30:51 (GMT) |
commit | f0f7da04358c82bb80c6670ca336ebd2154163a6 (patch) | |
tree | d4b6da45d933b59316e7e933afeecfb2a8143e2f /src/dbus | |
parent | 5ad68ce1cb5e80fa14e549f087e957030ef4baf0 (diff) | |
download | Qt-f0f7da04358c82bb80c6670ca336ebd2154163a6.zip Qt-f0f7da04358c82bb80c6670ca336ebd2154163a6.tar.gz Qt-f0f7da04358c82bb80c6670ca336ebd2154163a6.tar.bz2 |
Remove a Q_ASSERT that could be triggered under some conditions.
Whenever an argument failed to marshall, this assert would be
triggered. It's technically an error in the application, but it's hard
to track it down. So remove it and let the execution continue (the
function returns false indicating failure already and there's a
warning from the marshalling code itself)
Reviewed-by: TrustMe
Diffstat (limited to 'src/dbus')
-rw-r--r-- | src/dbus/qdbusmessage.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dbus/qdbusmessage.cpp b/src/dbus/qdbusmessage.cpp index 19f0b04..96dcd3b 100644 --- a/src/dbus/qdbusmessage.cpp +++ b/src/dbus/qdbusmessage.cpp @@ -161,7 +161,6 @@ DBusMessage *QDBusMessagePrivate::toDBusMessage(const QDBusMessage &message) // not ok; q_dbus_message_unref(msg); - Q_ASSERT(false); return 0; } |