diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-01-26 18:38:01 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-25 16:11:05 +0100 |
commit | 05f822e3fb7eaeb2801f6a7b178395937a2a20c5 (patch) | |
tree | c7e51ad6318ea9496cc2222945bf58251e9d33c7 | |
parent | c84e26826e380b5899443bb22403c4fa478cb292 (diff) | |
download | dbus-05f822e3fb7eaeb2801f6a7b178395937a2a20c5.tar.gz |
dbus_connection_dispatch: remove dead code
There's no way pending can be non-NULL here; if it was, we'd have jumped
straight past this block (getting filters from the connection), because
replies to pending calls don't go through filters.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
-rw-r--r-- | dbus/dbus-connection.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index e656cd2a..d0aca256 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -4613,9 +4613,6 @@ dbus_connection_dispatch (DBusConnection *connection) /* unlocks and calls user code */ _dbus_connection_update_dispatch_status_and_unlock (connection, DBUS_DISPATCH_NEED_MEMORY); - - if (pending) - dbus_pending_call_unref (pending); dbus_connection_unref (connection); return DBUS_DISPATCH_NEED_MEMORY; |