]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
cclient: fix compilation error
authorJaroslav Kysela <perex@perex.cz>
Thu, 4 Jan 2018 14:59:09 +0000 (15:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Jan 2018 14:59:09 +0000 (15:59 +0100)
src/descrambler/cclient.c

index cb8bbb40c0e55c5f10f0b7d44fe310ec3a58760d..2540e050f598b4dfd36f8601a6da256f7e68a709 100644 (file)
@@ -591,7 +591,7 @@ cc_session(cclient_t *cc)
     if (r < 0)
       break;
     if (ev.ptr == &cc->cc_pipe) {
-      read(cc->cc_pipe.rd, buf, sizeof(buf));
+      (void)read(cc->cc_pipe.rd, buf, sizeof(buf));
     } else if (ev.ptr == &cc->cc_fd) {
       sbuf_alloc(&rbuf, 1024);
       len = sbuf_read(&rbuf, cc->cc_fd);