*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 is contained in:
thilo
2011-10-28 22:15:44 +00:00
parent b49f3e22c0
commit 794ec11069

View File

@@ -1205,13 +1205,12 @@ int CEventFinderMenu::exec(CMenuTarget* parent, const std::string &actionkey)
// get channel id / bouquet id // get channel id / bouquet id
if(*m_search_list == EventList::SEARCH_LIST_CHANNEL) if(*m_search_list == EventList::SEARCH_LIST_CHANNEL)
{ {
int nNewChannel;
int nNewBouquet; int nNewBouquet;
nNewBouquet = bouquetList->show(); nNewBouquet = bouquetList->show();
//printf("new_bouquet_id %d\n",nNewBouquet); //printf("new_bouquet_id %d\n",nNewBouquet);
if (nNewBouquet > -1) if (nNewBouquet > -1)
{ {
nNewChannel = bouquetList->Bouquets[nNewBouquet]->channelList->show(); int nNewChannel = bouquetList->Bouquets[nNewBouquet]->channelList->show();
//printf("nNewChannel %d\n",nNewChannel); //printf("nNewChannel %d\n",nNewChannel);
if (nNewChannel > -1) if (nNewChannel > -1)
{ {