From 171f2b47008522ad7e950dc67447a08406f4888d Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 17 Sep 2016 00:43:15 +0300 Subject: [PATCH] Remove names from unused parameters --- source/graphics/cgl/glcontext.cpp | 2 +- source/graphics/wgl/glcontext.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/graphics/cgl/glcontext.cpp b/source/graphics/cgl/glcontext.cpp index 748b9b1..4d51052 100644 --- a/source/graphics/cgl/glcontext.cpp +++ b/source/graphics/cgl/glcontext.cpp @@ -72,7 +72,7 @@ void GLContext::swap_buffers() flush_gl_buffer(priv->context); } -void GLContext::window_resized(unsigned w, unsigned h) +void GLContext::window_resized(unsigned, unsigned) { // XXX Call [context update] here? } diff --git a/source/graphics/wgl/glcontext.cpp b/source/graphics/wgl/glcontext.cpp index b6b2c5f..844f7a7 100644 --- a/source/graphics/wgl/glcontext.cpp +++ b/source/graphics/wgl/glcontext.cpp @@ -60,7 +60,7 @@ void GLContext::swap_buffers() ReleaseDC(window.get_private().window, dc); } -void GLContext::window_resized(unsigned w, unsigned h) +void GLContext::window_resized(unsigned, unsigned) { } } // namespace Graphics -- 2.43.0