mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
*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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user