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

CID 1384262.
This commit is contained in:
Yu Watanabe
2018-01-10 20:52:55 +09:00
parent 78e2f089fd
commit 0a664f1b15
+1 -1
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)
return -errno;
fd_cloexec(STDOUT_FILENO, false);
(void) fd_cloexec(STDOUT_FILENO, false);
}
if (!argv) {