mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
neutrino.cpp: remove bouquetList checks, it never should be NULL
Origin commit data
------------------
Commit: 9d5ccfa4f4
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-05 (Thu, 05 Apr 2012)
This commit is contained in:
@@ -1955,7 +1955,7 @@ void CNeutrinoApp::quickZap(int msg)
|
|||||||
StartSubtitles(res < 0);
|
StartSubtitles(res < 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if((bouquetList != NULL) && !(bouquetList->Bouquets.empty()))
|
if(!bouquetList->Bouquets.empty())
|
||||||
bouquetList->Bouquets[bouquetList->getActiveBouquetNumber()]->channelList->quickZap(msg, g_settings.zap_cycle);
|
bouquetList->Bouquets[bouquetList->getActiveBouquetNumber()]->channelList->quickZap(msg, g_settings.zap_cycle);
|
||||||
else
|
else
|
||||||
channelList->quickZap(msg);
|
channelList->quickZap(msg);
|
||||||
|
Reference in New Issue
Block a user