Commit 05f822e3 authored by Simon McVittie's avatar Simon McVittie

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=33128Reviewed-by: default avatarCosimo Alfarano <cosimo.alfarano@collabora.co.uk>
parent c84e2682
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment