summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-02 01:36:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-02 01:36:09 +0300
commit7dd01a95a1e7522cd3cb3bdda2e96a75770e2e55 (patch)
tree215daa5747b5c7817fa43657c450ed128b4a15e2 /src
parentd927e92e98057c544ff6829d26807e8bc22a7441 (diff)
downloadmv-7dd01a95a1e7522cd3cb3bdda2e96a75770e2e55.tar.gz
mv-7dd01a95a1e7522cd3cb3bdda2e96a75770e2e55.tar.bz2
mv-7dd01a95a1e7522cd3cb3bdda2e96a75770e2e55.tar.xz
mv-7dd01a95a1e7522cd3cb3bdda2e96a75770e2e55.zip
fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r--src/gui/viewport.cpp1
1 files changed, 0 insertions, 1 deletions
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,