summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index abe3500c..f63fc5f7 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -488,8 +488,6 @@ int Client::exec()
while (mState != STATE_EXIT)
{
- bool handledEvents = false;
-
if (game)
{
// Let the game handle the events while it is active
@@ -500,8 +498,6 @@ int Client::exec()
// Handle SDL events
while (SDL_PollEvent(&event))
{
- handledEvents = true;
-
switch (event.type)
{
case SDL_QUIT: