From 62ade2d8ed7a4dce1a9a17e6cacd9412a0d0c608 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Mar 2013 02:18:45 +0300 Subject: Add missing breaks and fix possible memory leak. --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 9346a30b6..2d73b791f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2870,9 +2870,11 @@ void Client::logEvent(const SDL_Event &event) case SDL_ACTIVEEVENT: logger->log("event: SDL_ACTIVEEVENT: %d %d", event.active.state, event.active.gain); + break; #ifdef ANDROID case SDL_ACCELEROMETER: logger->log("event: SDL_ACCELEROMETER"); + break; #endif default: logger->log("event: other: %d", event.type); -- cgit v1.2.3-60-g2f50