From: Lennart Poettering Date: Fri, 23 Mar 2018 15:33:38 +0000 (+0100) Subject: coccinelle: run no-if-assignments.cocci again X-Git-Tag: v239~479^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be6bca47ecdc5dbf4bd4b8fb3ff97c110303a516;p=platform%2Fupstream%2Fsystemd.git coccinelle: run no-if-assignments.cocci again --- diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c index 6de905b..587d9b5 100644 --- a/src/core/dbus-service.c +++ b/src/core/dbus-service.c @@ -354,7 +354,8 @@ static int bus_service_set_transient_property( if (streq(name, "SuccessExitStatus")) return bus_set_transient_exit_status(u, name, &s->success_status, message, flags, error); - if ((ci = service_exec_command_from_string(name)) >= 0) + ci = service_exec_command_from_string(name); + if (ci >= 0) return bus_set_transient_exec_command(u, name, &s->exec_command[ci], message, flags, error); if (streq(name, "StandardInputFileDescriptor"))