Suppress unused variable warning

SVN_SILENT
This commit is contained in:
Martin Gräßlin 2012-11-22 14:34:34 +01:00
parent b2512b1479
commit feb352c84c

View file

@ -577,6 +577,7 @@ void SceneOpenGL2::slotColorCorrectedChanged()
#ifdef KWIN_HAVE_OPENGL_1 #ifdef KWIN_HAVE_OPENGL_1
bool SceneOpenGL1::supported(OpenGLBackend *backend) bool SceneOpenGL1::supported(OpenGLBackend *backend)
{ {
Q_UNUSED(backend)
const QByteArray forceEnv = qgetenv("KWIN_COMPOSE"); const QByteArray forceEnv = qgetenv("KWIN_COMPOSE");
if (!forceEnv.isEmpty()) { if (!forceEnv.isEmpty()) {
if (qstrcmp(forceEnv, "O1") == 0) { if (qstrcmp(forceEnv, "O1") == 0) {