From bdd13f6be4b588568683a1ab54f421fc6a636dbb Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 22 Feb 2014 19:26:27 -0500 Subject: Remove dead lines in various places As pointed-out by clang -Wunreachable-code. No behaviour changes. --- src/core/service.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/service.c b/src/core/service.c index 6977774257..6de24ec5bd 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -1436,9 +1436,7 @@ static int service_search_main_pid(Service *s) { log_warning_unit(UNIT(s)->id, "Failed to watch PID "PID_FMT" from service %s", pid, UNIT(s)->id); - return r; - - return 0; + return r; } static void service_set_state(Service *s, ServiceState state) { -- cgit v1.2.3-54-g00ecf