]> git.meshlink.io Git - catta/commitdiff
explicitly ignore return value when writing to pipe
authorSven M. Hallberg <pesco@khjk.org>
Wed, 17 Sep 2014 10:32:46 +0000 (12:32 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Wed, 17 Sep 2014 10:32:46 +0000 (12:32 +0200)
src/simple-watch.c

index 7719e56cb0e43b557d9f173f6b40e951dc484cad..e0b1467d91b66c9c25116a18e2482f00ae90370d 100644 (file)
@@ -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;
 }