summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-03-22 08:54:21 -0400
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-03-22 13:09:52 +0000
commit20be9e9df615423e98f630b69a6579ba4e77fe5b (patch)
tree96cb758b7278bf0e3d231bb7b760948ae898d253
parent080a0310538fe1fcfaee0f783943c0352f9c679a (diff)
downloadbubblewrap-20be9e9df615423e98f630b69a6579ba4e77fe5b.tar.gz
main: Squash a compiler warning
AFAICS it's not really possible for `write()` to an eventfd to fail, so squash this warning from Travis. Pull request: #27 Approved by: alexlarsson
-rw-r--r--bubblewrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index 2c23472..da002b8 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -323,7 +323,7 @@ do_init (int event_fd, pid_t initial_pid)
initial_exit_status = WEXITSTATUS(status);
val = initial_exit_status + 1;
- write (event_fd, &val, 8);
+ (void) write (event_fd, &val, 8);
}
if (child == -1 && errno != EINTR)