From: Zbigniew Jędrzejewski-Szmek Date: Sat, 7 Mar 2015 19:16:18 +0000 (-0500) Subject: core/dbus-manager: remove dead check X-Git-Tag: v219.0~474 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5eed9d0d85be0767fe6a4d19c7abacb1f09e4b75;p=elogind.git core/dbus-manager: remove dead check CID #1257766. --- diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index feca6e8b8..76901c7f1 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -675,9 +675,6 @@ static int transient_aux_units_from_message( return r; while ((r = sd_bus_message_enter_container(message, 'r', "sa(sv)")) > 0) { - if (r <= 0) - return r; - r = sd_bus_message_read(message, "s", &name); if (r < 0) return r;