Fix warnings about unused variables. Submitted by timeless.
BUG=15
Review URL: http://codereview.appspot.com/1916046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@379 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputGLSL.cpp b/src/compiler/OutputGLSL.cpp
index 171bb8c..fd263b6 100644
--- a/src/compiler/OutputGLSL.cpp
+++ b/src/compiler/OutputGLSL.cpp
@@ -304,8 +304,6 @@
bool TOutputGLSL::visitUnary(Visit visit, TIntermUnary* node)
{
- TInfoSinkBase& out = objSink();
-
switch (node->getOp())
{
case EOpNegative: writeTriplet(visit, "(-", NULL, ")"); break;
@@ -650,8 +648,6 @@
bool TOutputGLSL::visitBranch(Visit visit, TIntermBranch* node)
{
- TInfoSinkBase &out = objSink();
-
switch (node->getFlowOp())
{
case EOpKill: writeTriplet(visit, "discard", NULL, NULL); break;