From ccf95601444e9df112fd92cfba64df3bb5033321 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 6 Mar 2011 18:37:09 +0000 Subject: [PATCH] fix compilerwarning in rcinput git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1268 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/65ea10d9881597889f6b019d809073952232bb7c Author: Stefan Seyfried Date: 2011-03-06 (Sun, 06 Mar 2011) ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index b53b43244..f48869390 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1152,7 +1152,6 @@ printf("[neutrino] CSectionsdClient::EVT_GOT_CN_EPG\n"); for (int i = 0; i < NUMBER_OF_EVENT_DEVICES; i++) { if ((fd_rc[i] != -1) && (FD_ISSET(fd_rc[i], &rfds))) { - int ret; #ifdef HAVE_TRIPLEDRAGON int count = 0; /* 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.code &= 0x00FF; /* clear release bit */ #else + int ret; ret = read(fd_rc[i], &ev, sizeof(t_input_event)); if(ret != sizeof(t_input_event))