diff options
author | Colin Walters <walters@verbum.org> | 2016-03-22 08:54:21 -0400 |
---|---|---|
committer | Colin Walters (automation) <walters+githubbot@verbum.org> | 2016-03-22 13:09:52 +0000 |
commit | 20be9e9df615423e98f630b69a6579ba4e77fe5b (patch) | |
tree | 96cb758b7278bf0e3d231bb7b760948ae898d253 | |
parent | 080a0310538fe1fcfaee0f783943c0352f9c679a (diff) | |
download | bubblewrap-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.c | 2 |
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) |