From 9bcbe03475754608937f204a3d7743847ca1463f Mon Sep 17 00:00:00 2001 From: mws Date: Wed, 16 Dec 2009 15:34:26 +0000 Subject: [PATCH] comment in unused variables, replace #warning statements git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@60 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/favorites.cpp | 2 +- src/gui/plugins.cpp | 3 ++- src/system/flashtool.cpp | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gui/favorites.cpp b/src/gui/favorites.cpp index 58afb0e71..496b1fdf2 100644 --- a/src/gui/favorites.cpp +++ b/src/gui/favorites.cpp @@ -60,7 +60,7 @@ int CFavorites::addChannelToFavorites(bool show_list) { signed int bouquet_id; t_channel_id channel_id; - const char * fav_bouquetname; + //const char * fav_bouquetname; int status = 0; diff --git a/src/gui/plugins.cpp b/src/gui/plugins.cpp index 8cf39feb4..60e188769 100644 --- a/src/gui/plugins.cpp +++ b/src/gui/plugins.cpp @@ -346,6 +346,7 @@ void CPlugins::startPlugin(int number,int param) return; } +#if 0 PluginExec execPlugin; char depstring[129]; char *argv[20]; @@ -357,7 +358,7 @@ void CPlugins::startPlugin(int number,int param) char * error; int vtpid = 0; PluginParam * startparam = 0; - +#endif g_RCInput->clearRCMsg(); #if 0 if (plugin_list[number].fb) diff --git a/src/system/flashtool.cpp b/src/system/flashtool.cpp index a1a90e4d4..1531217c2 100644 --- a/src/system/flashtool.cpp +++ b/src/system/flashtool.cpp @@ -261,7 +261,7 @@ bool CFlashTool::erase(int globalProgressEnd) if( ioctl( fd, MEMGETINFO, &meminfo ) != 0 ) { -#warning TODO: localize error message + // TODO: localize error message ErrorMessage = "can't get mtd-info"; return false; } @@ -490,7 +490,7 @@ int CMTDInfo::getMTDCount() std::string CMTDInfo::getMTDName(const int pos) { -#warning TODO: check /proc/mtd specification to determine mtdname encoding + // TODO: check /proc/mtd specification to determine mtdname encoding return FILESYSTEM_ENCODING_TO_UTF8_STRING(mtdData[pos]->name); }