From: Sven M. Hallberg Date: Wed, 17 Sep 2014 10:32:46 +0000 (+0200) Subject: explicitly ignore return value when writing to pipe X-Git-Url: http://git.meshlink.io/?p=catta;a=commitdiff_plain;h=70dc9df7e75ce18ae620cf0c4d88c66eee155960 explicitly ignore return value when writing to pipe --- 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; }