gui/bouquetlist.cpp: fix warning

This commit is contained in:
[CST] Focus
2014-03-28 18:00:27 +04:00
parent 6934981f30
commit 4d8a633532

View File

@@ -294,7 +294,7 @@ int CBouquetList::doMenu()
return -1;
} else {
menu->addItem(new CMenuForwarder(LOCALE_BOUQUETEDITOR_DELETE, true, NULL, selector, cnt, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED), old_selected == i ++);
bool old_epg;
int old_epg = 0;
if (zapitBouquet && (g_settings.epg_scan == CEpgScan::SCAN_SEL)) {
old_epg = zapitBouquet->bScanEpg;
menu->addItem(new CMenuOptionChooser(LOCALE_MISCSETTINGS_EPG_SCAN, &zapitBouquet->bScanEpg, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true));