From 35c952bf1ce2b04e706908770e8c596864a7bdb6 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 14 Aug 2024 15:45:31 +0900 Subject: [PATCH] run: drop unnecessary initializations Follow-up for fe5a6c47af675bc0020c545d86fb103492e1d77c. --- src/run/run.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;