projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e2f08
)
exec-util: cast to void when return value is ignored
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 10 Jan 2018 01:25:32 +0000
(10:25 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 10 Jan 2018 11:52:55 +0000
(20:52 +0900)
CID 1384262.
src/basic/exec-util.c
patch
|
blob
|
history
diff --git
a/src/basic/exec-util.c
b/src/basic/exec-util.c
index
a97295a
..
0829b3d
100644
(file)
--- a/
src/basic/exec-util.c
+++ b/
src/basic/exec-util.c
@@
-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) {