From: Yu Watanabe Date: Wed, 14 Aug 2024 06:45:31 +0000 (+0900) Subject: run: drop unnecessary initializations X-Git-Tag: v257-rc1~706^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c952bf1ce2b04e706908770e8c596864a7bdb6;p=thirdparty%2Fsystemd.git run: drop unnecessary initializations Follow-up for fe5a6c47af675bc0020c545d86fb103492e1d77c. --- diff --git a/src/run/run.c b/src/run/run.c index 62140062ab3..9e4c16d69d0 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1845,7 +1845,7 @@ static int start_transient_service(sd_bus *bus) { } if (!arg_quiet) { - sd_id128_t invocation_id = SD_ID128_NULL; + sd_id128_t invocation_id; r = acquire_invocation_id(bus, service, &invocation_id); if (r < 0) @@ -2014,7 +2014,7 @@ static int start_transient_scope(sd_bus *bus) { _cleanup_strv_free_ char **env = NULL, **user_env = NULL; _cleanup_free_ char *scope = NULL; const char *object = NULL; - sd_id128_t invocation_id = SD_ID128_NULL; + sd_id128_t invocation_id; bool allow_pidfd = true; int r;