run: drop unnecessary initializations

Follow-up for fe5a6c47af.
This commit is contained in:
Yu Watanabe
2024-08-14 15:45:49 +09:00
parent c76fdfc51b
commit 35c952bf1c
+2 -2
View File
@@ -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;