Fix warning
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 30 Apr 2012 12:32:35 +0000 (14:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 May 2012 07:41:27 +0000 (09:41 +0200)
qxcbnativeinterface.cpp:209:8: warning: unused parameter ‘context’
[-Wunused-parameter]

Change-Id: I0c90e94020907cf84626af9f3fef3e6746182431
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/xcb/qxcbnativeinterface.cpp

index fc320ee..cc00d08 100644 (file)
@@ -231,6 +231,7 @@ void * QXcbNativeInterface::eglContextForContext(QOpenGLContext *context)
     return 0;
 #endif
 #else
+    Q_UNUSED(context)
     return 0;
 #endif
 }