From: Mikko Rasa Date: Fri, 16 Sep 2016 21:43:15 +0000 (+0300) Subject: Remove names from unused parameters X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=commitdiff_plain;h=171f2b47008522ad7e950dc67447a08406f4888d;hp=a8a9191481151f049781b670ea8883025a594a5f Remove names from unused parameters --- 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