From 2f037139b00c9860db8e2b2de8e7f74e9cf05353 Mon Sep 17 00:00:00 2001 From: Thilo Graf 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/794ec1106919d802a95ca1232ae9e1c7f13ac95e Author: Thilo Graf Date: 2011-10-29 (Sat, 29 Oct 2011) Origin message was: ------------------ *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 ------------------ This commit was generated by Migit --- 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) {