diff options
Diffstat (limited to '')
-rw-r--r-- | src/client.c | 2 | ||||
-rw-r--r-- | src/event_pipe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c index bb204412b..3c5ec5660 100644 --- a/src/client.c +++ b/src/client.c @@ -205,7 +205,7 @@ static void client_init(struct client *client, int fd) client->permission = getDefaultPermissions(); - write(fd, GREETING, sizeof(GREETING) - 1); + (void)write(fd, GREETING, sizeof(GREETING) - 1); } static void free_cmd_list(GSList *list) diff --git a/src/event_pipe.c b/src/event_pipe.c index 6eddd0b1b..3e5009150 100644 --- a/src/event_pipe.c +++ b/src/event_pipe.c @@ -149,5 +149,5 @@ void event_pipe_emit_fast(enum pipe_event event) assert((unsigned)event < PIPE_EVENT_MAX); pipe_events[event] = true; - write(event_pipe[1], "", 1); + (void)write(event_pipe[1], "", 1); } |