diff options
author | Oystein Eftevaag | 2009-05-11 06:20:51 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2009-05-11 06:20:51 +0000 |
commit | c5189faf2b796629de6a179aebcb6854458f7415 (patch) | |
tree | e413e109eacf9c337971e3e57f42a14c32cae136 /backends | |
parent | 3d13c3ea36b36c9e0b84b0f741675d390066d98d (diff) | |
download | scummvm-rg350-c5189faf2b796629de6a179aebcb6854458f7415.tar.gz scummvm-rg350-c5189faf2b796629de6a179aebcb6854458f7415.tar.bz2 scummvm-rg350-c5189faf2b796629de6a179aebcb6854458f7415.zip |
Fixed some warnings
svn-id: r40444
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/iphone/osys_iphone.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp index ca7ccd3154..192ea096ae 100644 --- a/backends/platform/iphone/osys_iphone.cpp +++ b/backends/platform/iphone/osys_iphone.cpp @@ -340,7 +340,6 @@ void OSystem_IPHONE::drawDirtyRect(const Common::Rect& dirtyRect) { void OSystem_IPHONE::drawDirtyOverlayRect(const Common::Rect& dirtyRect) { int h = dirtyRect.bottom - dirtyRect.top; - int w = dirtyRect.right - dirtyRect.left; uint16 *src = (uint16 *)&_overlayBuffer[dirtyRect.top * _screenWidth + dirtyRect.left]; uint16 *dst = &_fullscreen[dirtyRect.top * _screenWidth + dirtyRect.left]; @@ -866,11 +865,10 @@ bool OSystem_IPHONE::handleEvent_mouseSecondDragged(Common::Event &event, int x, } else if (vecXNorm < -0.75 && vecYNorm > -0.5 && vecYNorm < 0.5) { // Swipe left return false; - } else - return false; - } else - return false; - + } + } + + return false; } void OSystem_IPHONE::handleEvent_orientationChanged(int orientation) { |