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:
cd72bd8
)
transaction: clarify via void-casting that we ignore the pipe2() return value for...
author
Lennart Poettering
<lennart@poettering.net>
Fri, 11 Sep 2015 16:18:01 +0000
(18:18 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 11 Sep 2015 16:31:50 +0000
(18:31 +0200)
src/core/transaction.c
patch
|
blob
|
history
diff --git
a/src/core/transaction.c
b/src/core/transaction.c
index
b8f69ec
..
2d120af
100644
(file)
--- a/
src/core/transaction.c
+++ b/
src/core/transaction.c
@@
-736,8
+736,8
@@
int transaction_activate(Transaction *tr, Manager *m, JobMode mode, sd_bus_error
if (m->idle_pipe[0] < 0 && m->idle_pipe[1] < 0 &&
m->idle_pipe[2] < 0 && m->idle_pipe[3] < 0) {
- pipe2(m->idle_pipe, O_NONBLOCK|O_CLOEXEC);
- pipe2(m->idle_pipe + 2, O_NONBLOCK|O_CLOEXEC);
+
(void)
pipe2(m->idle_pipe, O_NONBLOCK|O_CLOEXEC);
+
(void)
pipe2(m->idle_pipe + 2, O_NONBLOCK|O_CLOEXEC);
}
}