webtv-setup: fix compiler warnings

Origin commit data
------------------
Branch: ni/coolstream
Commit: d4eb4cbbe3
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-23 (Fri, 23 Nov 2018)

Origin message was:
------------------
- webtv-setup: fix compiler warnings

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-11-23 00:25:33 +01:00
parent bcdfd6550c
commit 645890c5e7

View File

@@ -191,6 +191,9 @@ int CWebTVSetup::Show()
m->addIntroItems(webradio ? LOCALE_WEBRADIO_HEAD : LOCALE_WEBTV_HEAD);
int shortcut = 1;
#if 0
bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) &&
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
@@ -198,8 +201,6 @@ int CWebTVSetup::Show()
(!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty());
CMenuForwarder *mf;
int shortcut = 1;
#if 0
mf = new CMenuForwarder(LOCALE_LIVESTREAM_SCRIPTPATH, !_mode_webtv || !_mode_webradio, g_settings.livestreamScriptPath, this, "script_path", CRCInput::convertDigitToKey(shortcut++));
m->addItem(mf);
mf = new CMenuForwarder(LOCALE_LIVESTREAM_RESOLUTION, _mode_webtv, NULL, new CWebTVResolution(), NULL, CRCInput::convertDigitToKey(shortcut++));