1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

exec-util: cast to void when return value is ignored

CID 1384262.
This commit is contained in:
Yu Watanabe 2018-01-10 10:25:32 +09:00
parent 78e2f089fd
commit 0a664f1b15

View File

@ -67,7 +67,7 @@ static int do_spawn(const char *path, char *argv[], int stdout_fd, pid_t *pid) {
dup2(stdout_fd, STDOUT_FILENO) < 0) dup2(stdout_fd, STDOUT_FILENO) < 0)
return -errno; return -errno;
fd_cloexec(STDOUT_FILENO, false); (void) fd_cloexec(STDOUT_FILENO, false);
} }
if (!argv) { if (!argv) {