From 8b6b3358c8cab75cd693fb3a3abc16990c5850b5 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 27 Sep 2009 17:18:30 +0000 Subject: Properly return values on functions with non-void return types. svn-id: r44412 --- backends/platform/linuxmoto/hardwarekeys.cpp | 2 +- backends/platform/linuxmoto/linuxmoto-graphics.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/linuxmoto') diff --git a/backends/platform/linuxmoto/hardwarekeys.cpp b/backends/platform/linuxmoto/hardwarekeys.cpp index 80b91d7616..a3fdd68c7f 100644 --- a/backends/platform/linuxmoto/hardwarekeys.cpp +++ b/backends/platform/linuxmoto/hardwarekeys.cpp @@ -113,5 +113,5 @@ static const Mod modifiers[] = { Common::HardwareKeySet *OSystem_LINUXMOTO::getHardwareKeySet() { - OSystem_SDL::getHardwareKeySet(); + return OSystem_SDL::getHardwareKeySet(); } diff --git a/backends/platform/linuxmoto/linuxmoto-graphics.cpp b/backends/platform/linuxmoto/linuxmoto-graphics.cpp index 77b7ea9914..e74cb8dbf3 100644 --- a/backends/platform/linuxmoto/linuxmoto-graphics.cpp +++ b/backends/platform/linuxmoto/linuxmoto-graphics.cpp @@ -162,7 +162,7 @@ bool OSystem_LINUXMOTO::loadGFXMode() { _videoMode.hardwareHeight = effectiveScreenHeight(); } - OSystem_SDL::loadGFXMode(); + return OSystem_SDL::loadGFXMode(); } void OSystem_LINUXMOTO::drawMouse() { -- cgit v1.2.3