From 8c2362374d06abf382af9b232af51df3305aa500 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 9 Apr 2013 16:02:29 +0400 Subject: [PATCH] neutrino.cpp: fix unused variable warning --- src/neutrino.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index dd6c7453d..fe72fb7bb 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2357,15 +2357,17 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) _show: int nNewChannel = -1; - int old_num = 0; int old_b = bouquetList->getActiveBouquetNumber(); //int old_mode = g_settings.channel_mode; int old_mode = GetChannelMode(); printf("************************* ZAP START: bouquetList %p size %d old_b %d\n", bouquetList, (int)bouquetList->Bouquets.size(), old_b);fflush(stdout); +#if 0 + int old_num = 0; if(!bouquetList->Bouquets.empty()) { old_num = bouquetList->Bouquets[old_b]->channelList->getSelected(); } +#endif //_show: if(msg == CRCInput::RC_ok) {