From 2ba5e1d6ad50bd12a672e5fbf5d55c8e52943171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 21 Nov 2012 14:44:45 +0100 Subject: [PATCH] Remove unused variable in CubeEffect::loadShader --warnings --- effects/cube/cube.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index 6afbb98d3b..3885666509 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -298,7 +298,6 @@ bool CubeEffect::loadShader() return false; } - ShaderManager *shaderManager = ShaderManager::instance(); // TODO: use generic shader - currently it is failing in alpha/brightness manipulation cylinderShader = new GLShader(cylinderVertexshader, fragmentshader); if (!cylinderShader->isValid()) {