mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +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:
@@ -65,7 +65,7 @@ public:
|
||||
m_pass = a4;
|
||||
m_type = type;
|
||||
}
|
||||
bool changeNotify(const neutrino_locale_t OptionName, void *)
|
||||
bool changeNotify(const neutrino_locale_t /*OptionName*/, void *)
|
||||
{
|
||||
if(*m_type == (int)CFSMounter::NFS)
|
||||
{
|
||||
@@ -103,7 +103,7 @@ int CNFSMountGui::exec( CMenuTarget* parent, const std::string & actionKey )
|
||||
{
|
||||
//printf("exec: %s\n", actionKey.c_str());
|
||||
int returnval = menu_return::RETURN_REPAINT;
|
||||
|
||||
|
||||
if (m_nfs_sup == CFSMounter::FS_UNPROBED)
|
||||
m_nfs_sup = CFSMounter::fsSupported(CFSMounter::NFS);
|
||||
|
||||
@@ -147,7 +147,7 @@ int CNFSMountGui::exec( CMenuTarget* parent, const std::string & actionKey )
|
||||
else if(actionKey.substr(0,7)=="domount")
|
||||
{
|
||||
int nr=atoi(actionKey.substr(7,1).c_str());
|
||||
CFSMounter::mount(g_settings.network_nfs_ip[nr].c_str(), g_settings.network_nfs_dir[nr],
|
||||
CFSMounter::mount(g_settings.network_nfs_ip[nr].c_str(), g_settings.network_nfs_dir[nr],
|
||||
g_settings.network_nfs_local_dir[nr], (CFSMounter::FSType) g_settings.network_nfs_type[nr],
|
||||
g_settings.network_nfs_username[nr], g_settings.network_nfs_password[nr],
|
||||
g_settings.network_nfs_mount_options1[nr], g_settings.network_nfs_mount_options2[nr]);
|
||||
@@ -180,7 +180,7 @@ int CNFSMountGui::menu()
|
||||
for(int i=0 ; i < NETWORK_NFS_NR_OF_ENTRIES ; i++)
|
||||
{
|
||||
sprintf(s2,"mountentry%d",i);
|
||||
sprintf(ISO_8859_1_entry[i],ZapitTools::UTF8_to_Latin1(m_entry[i]).c_str());
|
||||
sprintf(ISO_8859_1_entry[i],ZapitTools::UTF8_to_Latin1(m_entry[i]).c_str());
|
||||
CMenuForwarderNonLocalized *forwarder = new CMenuForwarderNonLocalized("", true, ISO_8859_1_entry[i], this, s2);
|
||||
if (CFSMounter::isMounted(g_settings.network_nfs_local_dir[i]))
|
||||
{
|
||||
@@ -242,7 +242,7 @@ int CNFSMountGui::menuEntry(int nr)
|
||||
*type = (int) CFSMounter::LUFS;
|
||||
}
|
||||
bool typeEnabled = (m_cifs_sup != CFSMounter::FS_UNSUPPORTED && m_nfs_sup != CFSMounter::FS_UNSUPPORTED && m_lufs_sup != CFSMounter::FS_UNSUPPORTED) ||
|
||||
(m_cifs_sup != CFSMounter::FS_UNSUPPORTED && *type != (int)CFSMounter::CIFS) ||
|
||||
(m_cifs_sup != CFSMounter::FS_UNSUPPORTED && *type != (int)CFSMounter::CIFS) ||
|
||||
(m_nfs_sup != CFSMounter::FS_UNSUPPORTED && *type != (int)CFSMounter::NFS) ||
|
||||
(m_lufs_sup != CFSMounter::FS_UNSUPPORTED && *type != (int)CFSMounter::LUFS);
|
||||
|
||||
|
Reference in New Issue
Block a user