From 7dd01a95a1e7522cd3cb3bdda2e96a75770e2e55 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Sep 2013 01:36:09 +0300 Subject: fix compilation warning. --- src/gui/viewport.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 90ef086d2..40f328a78 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -286,7 +286,6 @@ void Viewport::_followMouse() if (mPlayerFollowMouse && (button & SDL_BUTTON(1))) { // We create a mouse event and send it to mouseDragged. - const uint8_t *const keys = SDL_GetKeyState(nullptr); gcn::MouseEvent mouseEvent(nullptr, 0, false, -- cgit v1.2.3-70-g09d2