From 3240811349c6a51a91923856a5538194d46a678e Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Wed, 11 Feb 2015 19:21:54 +0100 Subject: [PATCH] fix compiling warnings Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1bfcad398f136da581035b6e295e51bf5ed1ec6f Author: Jacek Jendrzej Date: 2015-02-11 (Wed, 11 Feb 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 2 +- src/driver/scanepg.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 727306d0c..bc7cc2eaa 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -637,7 +637,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6 #ifdef KEYBOARD_INSTEAD_OF_REMOTE_CONTROL if (FD_ISSET(fd_keyb, &rfds)) { - int trkey; + uint32_t trkey; char key = 0; read(fd_keyb, &key, sizeof(key)); diff --git a/src/driver/scanepg.cpp b/src/driver/scanepg.cpp index 4d2f37b6b..24c6e3d33 100644 --- a/src/driver/scanepg.cpp +++ b/src/driver/scanepg.cpp @@ -337,8 +337,10 @@ void CEpgScan::EnterStandby() void CEpgScan::Next() { - bool llocked = false, plocked = false; - + bool llocked = false; +#ifdef ENABLE_PIP + bool plocked = false; +#endif next_chid = 0; if (!standby && CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_standby)