From 5eed9d0d85be0767fe6a4d19c7abacb1f09e4b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 7 Mar 2015 14:16:18 -0500 Subject: [PATCH] core/dbus-manager: remove dead check CID #1257766. --- src/core/dbus-manager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index feca6e8b800..76901c7f11a 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;