src/gui/scan_setup.cpp -fix compil warnings

Origin commit data
------------------
Commit: 14a6028667
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-01-13 (Sun, 13 Jan 2013)
This commit is contained in:
Jacek Jendrzej
2013-01-13 21:23:40 +01:00
parent b194cb8701
commit f9816d7baa

View File

@@ -822,13 +822,12 @@ int CScanSetup::showScanMenuSatFind()
void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat, sat_config_t & satconfig) void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat, sat_config_t & satconfig)
{ {
temp_sat->addIntroItems(); temp_sat->addIntroItems();
CMenuOptionNumberChooser *diseqc; CMenuOptionNumberChooser *diseqc = NULL;
CMenuOptionNumberChooser *comm; CMenuOptionNumberChooser *comm = NULL;
CMenuOptionNumberChooser *uncomm; CMenuOptionNumberChooser *uncomm = NULL;
CMenuOptionNumberChooser *unilnb; CMenuOptionNumberChooser *unilnb = NULL;
CMenuOptionNumberChooser *motor; CMenuOptionNumberChooser *motor = NULL;
CMenuOptionChooser *usals; CMenuOptionChooser *usals = NULL;
CMenuForwarder *mf;
bool unicable = (dmode == DISEQC_UNICABLE); bool unicable = (dmode == DISEQC_UNICABLE);
if (!unicable) { if (!unicable) {
@@ -864,7 +863,7 @@ void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat, sat_config_t & satcon
temp_sat->addItem(unilnb); temp_sat->addItem(unilnb);
} }
mf = new CMenuDForwarder(LOCALE_SATSETUP_LOFL, true, lofL->getValue(), lofL); CMenuForwarder *mf = new CMenuDForwarder(LOCALE_SATSETUP_LOFL, true, lofL->getValue(), lofL);
mf->setHint("", LOCALE_MENU_HINT_SCAN_LOFL); mf->setHint("", LOCALE_MENU_HINT_SCAN_LOFL);
temp_sat->addItem(mf); temp_sat->addItem(mf);
mf = new CMenuDForwarder(LOCALE_SATSETUP_LOFH, true, lofH->getValue(), lofH); mf = new CMenuDForwarder(LOCALE_SATSETUP_LOFH, true, lofH->getValue(), lofH);