various: remove assignments of unread variables

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-09-22 17:58:11 +02:00
parent 4ffd4705fb
commit afa8ffae99
3 changed files with 1 additions and 3 deletions
-1
View File
@@ -199,7 +199,6 @@ static int exec_process(const char *name, char **argv, char **env, int start_fd,
return log_error_errno(errno, "Failed to dup connection: %m");
safe_close(start_fd);
start_fd = SD_LISTEN_FDS_START;
}
if (asprintf((char **) (envp + n_env++), "LISTEN_FDS=%zu", n_fds) < 0)