fix compiling warnings

This commit is contained in:
Jacek Jendrzej
2015-02-11 19:21:54 +01:00
parent 6d287e46f7
commit 1bfcad398f
2 changed files with 5 additions and 3 deletions

View File

@@ -637,7 +637,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
#ifdef KEYBOARD_INSTEAD_OF_REMOTE_CONTROL #ifdef KEYBOARD_INSTEAD_OF_REMOTE_CONTROL
if (FD_ISSET(fd_keyb, &rfds)) if (FD_ISSET(fd_keyb, &rfds))
{ {
int trkey; uint32_t trkey;
char key = 0; char key = 0;
read(fd_keyb, &key, sizeof(key)); read(fd_keyb, &key, sizeof(key));

View File

@@ -337,8 +337,10 @@ void CEpgScan::EnterStandby()
void CEpgScan::Next() void CEpgScan::Next()
{ {
bool llocked = false, plocked = false; bool llocked = false;
#ifdef ENABLE_PIP
bool plocked = false;
#endif
next_chid = 0; next_chid = 0;
if (!standby && CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_standby) if (!standby && CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_standby)