From d8e20baa960b95c1ca1dfd7b7e6fc457c695d106 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sun, 13 Dec 2015 03:31:06 +0300
Subject: Fix compilation warning.

---
 src/render/graphics.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 16e28b5fe..ed613000b 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -528,7 +528,7 @@ bool Graphics::resizeScreen(const int width, const int height)
 
     endDraw();
 
-    const bool success = true;
+    bool success = true;
 #ifdef __native_client__
     if (mOpenGL != RENDER_SOFTWARE)
     {
@@ -547,7 +547,7 @@ bool Graphics::resizeScreen(const int width, const int height)
     else
 #endif  // __native_client__
     {
-        bool success = setVideoMode(width, height, mScale, mBpp,
+        success = setVideoMode(width, height, mScale, mBpp,
             mFullscreen, mHWAccel, mEnableResize, mNoFrame);
 
         // If it didn't work, try to restore the previous size. If that didn't
-- 
cgit v1.2.3-70-g09d2