summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 013f804..21070bf 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -1104,3 +1104,3 @@ bool Yopy::suspend()
-bool Yopy::setDisplayBrightness(int bright)
+bool Yopy::setDisplayBrightness(int /*bright*/)
{
@@ -1670,3 +1670,2 @@ void Zaurus::init ( )
- bool flipstate = false;
switch ( d-> m_model ) {
@@ -2369,3 +2368,3 @@ bool SIMpad::setLedState ( OLed l, OLedState st )
-bool SIMpad::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, bool autoRepeat )
+bool SIMpad::filter ( int /*unicode*/, int /*keycode*/, int /*modifiers*/, bool /*isPress*/, bool /*autoRepeat*/ )
{
@@ -2430,3 +2429,3 @@ bool SIMpad::suspend ( ) // Must override because SIMpad does NOT have apm
- struct timeval tvs, tvn;
+ struct timeval tvs;
::gettimeofday ( &tvs, 0 );
@@ -2452,3 +2451,2 @@ bool SIMpad::setDisplayStatus ( bool on )
bool res = false;
- int fd;
@@ -2783,2 +2781,3 @@ int Jornada::displayBrightnessResolution ( ) const
{
+ return 255;
}