Remove unused variables

Thanks to clang for better warnings than g++.
icc-effect-5.14.5
Martin Gräßlin 2014-04-04 13:55:57 +02:00
parent c390a94261
commit aa7db138e8
2 changed files with 0 additions and 3 deletions

View File

@ -1477,7 +1477,6 @@ void SceneOpenGL2Window::restoreStates(TextureType type, qreal opacity, qreal br
OpenGLWindowPixmap::OpenGLWindowPixmap(Scene::Window *window, SceneOpenGL* scene)
: WindowPixmap(window)
, m_scene(scene)
, m_texture(scene->createTexture())
{
}
@ -2063,7 +2062,6 @@ bool SceneOpenGLShadow::prepareBackend()
const QSize top(shadowPixmap(ShadowElementTop).size());
const QSize topRight(shadowPixmap(ShadowElementTopRight).size());
const QSize right(shadowPixmap(ShadowElementRight).size());
const QSize bottomRight(shadowPixmap(ShadowElementBottomRight).size());
const QSize bottom(shadowPixmap(ShadowElementBottom).size());
const QSize bottomLeft(shadowPixmap(ShadowElementBottomLeft).size());
const QSize left(shadowPixmap(ShadowElementLeft).size());

View File

@ -303,7 +303,6 @@ public:
SceneOpenGL::Texture *texture() const;
bool bind();
private:
SceneOpenGL *m_scene;
QScopedPointer<SceneOpenGL::Texture> m_texture;
};