diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/events/sdl/sdl-events.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backends/events/sdl/sdl-events.cpp b/backends/events/sdl/sdl-events.cpp index 1c661a4cef..75c655269a 100644 --- a/backends/events/sdl/sdl-events.cpp +++ b/backends/events/sdl/sdl-events.cpp @@ -668,6 +668,8 @@ bool SdlEventSource::dispatchSDLEvent(SDL_Event &ev, Common::Event &event) { event.type = Common::EVENT_QUIT; return true; + default: + break; } if (_joystick) { @@ -680,6 +682,8 @@ bool SdlEventSource::dispatchSDLEvent(SDL_Event &ev, Common::Event &event) { return handleJoyAxisMotion(ev, event); case SDL_JOYHATMOTION: return handleJoyHatMotion(ev, event); + default: + break; } } @@ -692,6 +696,8 @@ bool SdlEventSource::dispatchSDLEvent(SDL_Event &ev, Common::Event &event) { return handleControllerButton(ev, event, true); case SDL_CONTROLLERAXISMOTION: return handleControllerAxisMotion(ev, event); + default: + break; } } #endif @@ -979,6 +985,8 @@ bool SdlEventSource::handleJoyButtonDown(SDL_Event &ev, Common::Event &event) { event.type = Common::EVENT_VIRTUAL_KEYBOARD; break; #endif + default: + break; } return true; } @@ -1021,6 +1029,8 @@ bool SdlEventSource::handleJoyButtonUp(SDL_Event &ev, Common::Event &event) { // Handled in key down break; #endif + default: + break; } return true; } |