Unreviewed, build fix since we use "-Werror=unused-but-set-variable".
authorjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2012 13:34:03 +0000 (13:34 +0000)
committerjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2012 13:34:03 +0000 (13:34 +0000)
The variable 'it' was set at TextureMapperShaderManager.h:110 but never used.

* platform/graphics/texmap/TextureMapperShaderManager.h:
(WebCore::TextureMapperShaderManager::getShaderProgram):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.h

index fd27f7febcdebd3a4be8ecf26c0b3de70a74fc13..748cac8e4c32c5cf0c48ea87b3010691590b3520 100644 (file)
@@ -1,3 +1,12 @@
+2012-03-24  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
+
+        Unreviewed, build fix since we use "-Werror=unused-but-set-variable".
+
+        The variable 'it' was set at TextureMapperShaderManager.h:110 but never used.
+
+        * platform/graphics/texmap/TextureMapperShaderManager.h:
+        (WebCore::TextureMapperShaderManager::getShaderProgram):
+
 2012-03-24  Zeno Albisser  <zeno@webkit.org>
 
         [Qt][WK2] Make TextureMapperShaderManager::getShaderProgram() not be a template.
index 94a86084bd2f8d05e13a24097cd39ace82443311..dc7dfce005cbf0e01b91bf93cb4a23d7ed470b6e 100644 (file)
@@ -107,7 +107,6 @@ public:
         if (shaderType == Invalid)
             return program;
 
-        TextureMapperShaderProgramMap::iterator it = m_textureMapperShaderProgramMap.find(shaderType);
         switch (shaderType) {
         case Simple:
             program = TextureMapperShaderProgramSimple::create();