mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -303,11 +303,11 @@ bool CFlashTool::erase(int globalProgressEnd)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CFlashTool::check_cramfs( const std::string & filename )
|
||||
bool CFlashTool::check_cramfs( const std::string & /*filename*/ )
|
||||
{
|
||||
int retVal = 0; //cramfs_crc( (char*) filename.c_str() );
|
||||
printf("flashcheck returned: %d\n", retVal);
|
||||
return retVal==1;
|
||||
return retVal==1;
|
||||
}
|
||||
#define FROMHEX(c) ((c)>='a' ? (c)-'a'+10 : ((c)>='A' ? (c)-'A'+10 : (c)-'0'))
|
||||
bool CFlashTool::check_md5( const std::string & filename, const std::string & smd5)
|
||||
@@ -354,7 +354,7 @@ CFlashVersionInfo::CFlashVersionInfo(const std::string & versionString)
|
||||
releaseCycle[2] = versionString[3];
|
||||
releaseCycle[3] = 0;
|
||||
}
|
||||
else
|
||||
else
|
||||
*/
|
||||
{
|
||||
releaseCycle[2] = versionString[2];
|
||||
|
@@ -40,7 +40,7 @@ void CHTTPTool::setStatusViewer( CProgress_StatusViewer* statusview )
|
||||
}
|
||||
|
||||
|
||||
int CHTTPTool::show_progress( void *clientp, double dltotal, double dlnow, double ultotal, double ulnow )
|
||||
int CHTTPTool::show_progress( void *clientp, double dltotal, double dlnow, double /*ultotal*/, double /*ulnow*/ )
|
||||
{
|
||||
CHTTPTool* hTool = ((CHTTPTool*)clientp);
|
||||
if(hTool->statusViewer)
|
||||
|
@@ -365,7 +365,7 @@ bool CLcdNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
return true;
|
||||
}
|
||||
|
||||
int CRfExec::exec(CMenuTarget* parent, const std::string& actionKey)
|
||||
int CRfExec::exec(CMenuTarget* /*parent*/, const std::string& /*actionKey*/)
|
||||
{
|
||||
g_RFmod->init();
|
||||
return true;
|
||||
@@ -575,7 +575,7 @@ bool CRecAPIDSettingsNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
return true;
|
||||
}
|
||||
|
||||
int CAPIDChangeExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
int CAPIDChangeExec::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
{
|
||||
// printf("CAPIDChangeExec exec: %s\n", actionKey.c_str());
|
||||
unsigned int sel= atoi(actionKey.c_str());
|
||||
@@ -590,7 +590,7 @@ int dvbsub_start(int pid);
|
||||
int dvbsub_pause();
|
||||
int dvbsub_stop();
|
||||
|
||||
int CSubtitleChangeExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
int CSubtitleChangeExec::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
{
|
||||
printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str());
|
||||
if(actionKey == "off") {
|
||||
@@ -667,7 +667,7 @@ int COnekeyPluginChangeExec::exec(CMenuTarget* parent, const std::string & actio
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
|
||||
int CUCodeCheckExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
int CUCodeCheckExec::exec(CMenuTarget* /*parent*/, const std::string & /*actionKey*/)
|
||||
{
|
||||
#if 0
|
||||
std::string text;
|
||||
@@ -834,7 +834,7 @@ const CMenuOptionChooser::keyval USERMENU_ITEM_OPTIONS[USERMENU_ITEM_OPTION_COUN
|
||||
#endif
|
||||
};
|
||||
|
||||
int CUserMenuMenu::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
int CUserMenuMenu::exec(CMenuTarget* parent, const std::string & /*actionKey*/)
|
||||
{
|
||||
if(parent != NULL)
|
||||
parent->hide();
|
||||
@@ -900,7 +900,7 @@ extern Zapit_config zapitCfg;
|
||||
void loadZapitSettings();
|
||||
void getZapitConfig(Zapit_config *Cfg);
|
||||
|
||||
int CDataResetNotifier::exec(CMenuTarget* parent, const std::string& actionKey)
|
||||
int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionKey)
|
||||
{
|
||||
bool delete_all = (actionKey == "all");
|
||||
bool delete_chan = (actionKey == "channels") || delete_all;
|
||||
@@ -908,7 +908,7 @@ int CDataResetNotifier::exec(CMenuTarget* parent, const std::string& actionKey)
|
||||
neutrino_locale_t msg = delete_all ? LOCALE_RESET_ALL : delete_chan ? LOCALE_RESET_CHANNELS : LOCALE_RESET_SETTINGS;
|
||||
|
||||
int result = ShowMsgUTF(msg, g_Locale->getText(LOCALE_RESET_CONFIRM), CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo);
|
||||
if(result != CMessageBox::mbrYes)
|
||||
if(result != CMessageBox::mbrYes)
|
||||
return true;
|
||||
|
||||
if(delete_all) {
|
||||
@@ -928,7 +928,7 @@ int CDataResetNotifier::exec(CMenuTarget* parent, const std::string& actionKey)
|
||||
if(delete_chan) {
|
||||
system("rm -f /var/tuxbox/config/zapit/*.xml");
|
||||
g_Zapit->reinitChannels();
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@@ -55,7 +55,7 @@ CScanSettings::CScanSettings(void)
|
||||
satNameNoDiseqc[0] = 0;
|
||||
}
|
||||
|
||||
void CScanSettings::toSatList( CZapitClient::ScanSatelliteList& satList) const
|
||||
void CScanSettings::toSatList( CZapitClient::ScanSatelliteList& /*satList*/) const
|
||||
{
|
||||
#if 0
|
||||
satList.clear();
|
||||
@@ -170,7 +170,7 @@ bool CScanSettings::loadSettings(const char * const fileName, const delivery_sys
|
||||
strcpy(TP_rate, configfile.getString("TP_rate", "27500000").c_str());
|
||||
#if HAVE_DVB_API_VERSION >= 3
|
||||
if(TP_fec == 4) TP_fec = 5;
|
||||
#endif
|
||||
#endif
|
||||
scanSectionsd = configfile.getInt32("scanSectionsd", 0);
|
||||
return true;
|
||||
}
|
||||
@@ -183,7 +183,7 @@ bool CScanSettings::saveSettings(const char * const fileName)
|
||||
configfile.setInt32( "bouquetMode", bouquetMode );
|
||||
configfile.setInt32( "scanType", scanType );
|
||||
configfile.setString( "satNameNoDiseqc", satNameNoDiseqc );
|
||||
|
||||
|
||||
configfile.setInt32("scan_mode", scan_mode);
|
||||
configfile.setInt32("TP_fec", TP_fec);
|
||||
configfile.setInt32("TP_pol", TP_pol);
|
||||
|
Reference in New Issue
Block a user