From ee9f1c67eb9a55d62ed5a8380c356a8b992df691 Mon Sep 17 00:00:00 2001 From: sinamas Date: Sun, 10 Feb 2013 21:31:00 +0100 Subject: [PATCH] qglblitter: shut up warning --- gambatte_qt/src/framework/src/blitterwidgets/qglblitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gambatte_qt/src/framework/src/blitterwidgets/qglblitter.cpp b/gambatte_qt/src/framework/src/blitterwidgets/qglblitter.cpp index 424fd2d7..ab1aedfd 100644 --- a/gambatte_qt/src/framework/src/blitterwidgets/qglblitter.cpp +++ b/gambatte_qt/src/framework/src/blitterwidgets/qglblitter.cpp @@ -17,14 +17,12 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #include "qglblitter.h" - #include #include #include #include #include #include - #include #include @@ -96,6 +94,8 @@ static const QGLFormat getQGLFormat(const unsigned swapInterval) { #ifndef PLATFORM_UNIX f.setSwapInterval(swapInterval); +#else + (void) swapInterval; #endif return f;