From: Jaroslav Kysela Date: Thu, 4 Jan 2018 14:59:09 +0000 (+0100) Subject: cclient: fix compilation error X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96f2020a91d97486ad3c42fb2807120243afc2fb;p=thirdparty%2Ftvheadend.git cclient: fix compilation error --- diff --git a/src/descrambler/cclient.c b/src/descrambler/cclient.c index cb8bbb40c..2540e050f 100644 --- a/src/descrambler/cclient.c +++ b/src/descrambler/cclient.c @@ -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);