From 794ec1106919d802a95ca1232ae9e1c7f13ac95e Mon Sep 17 00:00:00 2001 From: thilo Date: Fri, 28 Oct 2011 22:15:44 +0000 Subject: [PATCH] *neutrino eventlist: scope of variable 'nNewChannel' limited (style) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1787 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/eventlist.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 668f18f15..a2718a2b9 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -1205,13 +1205,12 @@ int CEventFinderMenu::exec(CMenuTarget* parent, const std::string &actionkey) // get channel id / bouquet id if(*m_search_list == EventList::SEARCH_LIST_CHANNEL) { - int nNewChannel; int nNewBouquet; nNewBouquet = bouquetList->show(); //printf("new_bouquet_id %d\n",nNewBouquet); if (nNewBouquet > -1) { - nNewChannel = bouquetList->Bouquets[nNewBouquet]->channelList->show(); + int nNewChannel = bouquetList->Bouquets[nNewBouquet]->channelList->show(); //printf("nNewChannel %d\n",nNewChannel); if (nNewChannel > -1) {