From 5247c56f5eb269c1d5d6cafe10ff5cdea5897353 Mon Sep 17 00:00:00 2001 From: Casian Andrei Date: Tue, 4 Sep 2012 22:01:07 +0300 Subject: [PATCH] CC: Fix unused variable warning --- libkwineffects/kwinglcolorcorrection.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libkwineffects/kwinglcolorcorrection.cpp b/libkwineffects/kwinglcolorcorrection.cpp index 35b63c470e..c0dcabd911 100644 --- a/libkwineffects/kwinglcolorcorrection.cpp +++ b/libkwineffects/kwinglcolorcorrection.cpp @@ -517,8 +517,6 @@ QByteArray ColorCorrection::prepareFragmentShader(const QByteArray &sourceCode) void ColorCorrectionPrivate::setupCCTextures() { - Q_Q(ColorCorrection); - if (m_ccTextureUnit < 0) { GLint maxUnits = 0; glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxUnits);