aboutsummaryrefslogtreecommitdiffstats
path: root/src/event_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event_pipe.c b/src/event_pipe.c
index 5b519984f..484b7a625 100644
--- a/src/event_pipe.c
+++ b/src/event_pipe.c
@@ -159,5 +159,6 @@ void event_pipe_emit_fast(enum pipe_event event)
assert((unsigned)event < PIPE_EVENT_MAX);
pipe_events[event] = true;
- (void)write(event_pipe[1], "", 1);
+
+ G_GNUC_UNUSED ssize_t nbytes = write(event_pipe[1], "", 1);
}