mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
fix compilerwarning in rcinput
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1268 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1152,7 +1152,6 @@ printf("[neutrino] CSectionsdClient::EVT_GOT_CN_EPG\n");
|
|||||||
|
|
||||||
for (int i = 0; i < NUMBER_OF_EVENT_DEVICES; i++) {
|
for (int i = 0; i < NUMBER_OF_EVENT_DEVICES; i++) {
|
||||||
if ((fd_rc[i] != -1) && (FD_ISSET(fd_rc[i], &rfds))) {
|
if ((fd_rc[i] != -1) && (FD_ISSET(fd_rc[i], &rfds))) {
|
||||||
int ret;
|
|
||||||
#ifdef HAVE_TRIPLEDRAGON
|
#ifdef HAVE_TRIPLEDRAGON
|
||||||
int count = 0;
|
int count = 0;
|
||||||
/* clear the input queue and process only the latest event
|
/* clear the input queue and process only the latest event
|
||||||
@@ -1165,6 +1164,7 @@ printf("[neutrino] CSectionsdClient::EVT_GOT_CN_EPG\n");
|
|||||||
ev.value = ((ev.code & 0xff00) != 0x8000); /* 0x8000 is release bit */
|
ev.value = ((ev.code & 0xff00) != 0x8000); /* 0x8000 is release bit */
|
||||||
ev.code &= 0x00FF; /* clear release bit */
|
ev.code &= 0x00FF; /* clear release bit */
|
||||||
#else
|
#else
|
||||||
|
int ret;
|
||||||
ret = read(fd_rc[i], &ev, sizeof(t_input_event));
|
ret = read(fd_rc[i], &ev, sizeof(t_input_event));
|
||||||
|
|
||||||
if(ret != sizeof(t_input_event))
|
if(ret != sizeof(t_input_event))
|
||||||
|
Reference in New Issue
Block a user