From 70dc9df7e75ce18ae620cf0c4d88c66eee155960 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Wed, 17 Sep 2014 12:32:46 +0200 Subject: [PATCH] explicitly ignore return value when writing to pipe --- src/simple-watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simple-watch.c b/src/simple-watch.c index 7719e56..e0b1467 100644 --- a/src/simple-watch.c +++ b/src/simple-watch.c @@ -100,7 +100,7 @@ void catta_simple_poll_wakeup(CattaSimplePoll *s) { char c = 'W'; assert(s); - writepipe(s->wakeup_pipe[1], &c, sizeof(c)); + (void)writepipe(s->wakeup_pipe[1], &c, sizeof(c)); s->wakeup_issued = 1; } -- 2.39.5