summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-11 18:18:01 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-11 18:31:50 +0200
commit1afaa7e8d29c0fd70a621d96a59487ab54b157fc (patch)
tree2cc9f6ea517b3f8338a8375d0dc3b35da7e271e4 /src/core
parentcd72bd8a4650c9e78a04cb7df1cbce697e14e512 (diff)
transaction: clarify via void-casting that we ignore the pipe2() return value for a reason
Diffstat (limited to 'src/core')
-rw-r--r--src/core/transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/transaction.c b/src/core/transaction.c
index b8f69ec6f3..2d120af4b5 100644
--- 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);
}
}