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:
parent
78e2f089fd
commit
0a664f1b15
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user