lcdd: fix compiler warnings on Tripledragon

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1827 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: af296c6548
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-11-05 (Sat, 05 Nov 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-11-05 12:09:56 +00:00
parent 9d9acc7762
commit 92e07ff083

View File

@@ -323,7 +323,7 @@ void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const
#endif
}
#else
void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const int inverse, const int bias)
void CLCD::setlcdparameter(int /*dimm*/, const int contrast, const int /*power*/, const int inverse, const int /*bias*/)
{
int fd = open("/dev/" DEVICE_NAME_LCD, O_RDWR);
if (fd < 0)
@@ -853,7 +853,6 @@ void CLCD::setMode(const MODES m, const char * const title)
mode = m;
menutitle = title;
setlcdparameter();
int x = 2;
switch (m)
{
@@ -1016,9 +1015,9 @@ int CLCD::getInverse()
return g_settings.lcd_setting[SNeutrinoSettings::LCD_INVERSE];
}
#ifdef HAVE_DBOX_HARDWARE
void CLCD::setAutoDimm(int autodimm)
{
#ifdef HAVE_DBOX_HARDWARE
int fd;
g_settings.lcd_setting[SNeutrinoSettings::LCD_AUTODIMM] = autodimm;
@@ -1035,8 +1034,12 @@ void CLCD::setAutoDimm(int autodimm)
close(fd);
}
#endif
}
#else
void CLCD::setAutoDimm(int /*autodimm*/)
{
}
#endif
int CLCD::getAutoDimm()
{