Commit 434fdf21 by alokp@chromium.org

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
parent bcfba4c3
...@@ -304,8 +304,6 @@ bool TOutputGLSL::visitBinary(Visit visit, TIntermBinary* node) ...@@ -304,8 +304,6 @@ bool TOutputGLSL::visitBinary(Visit visit, TIntermBinary* node)
bool TOutputGLSL::visitUnary(Visit visit, TIntermUnary* node) bool TOutputGLSL::visitUnary(Visit visit, TIntermUnary* node)
{ {
TInfoSinkBase& out = objSink();
switch (node->getOp()) switch (node->getOp())
{ {
case EOpNegative: writeTriplet(visit, "(-", NULL, ")"); break; case EOpNegative: writeTriplet(visit, "(-", NULL, ")"); break;
...@@ -650,8 +648,6 @@ bool TOutputGLSL::visitLoop(Visit visit, TIntermLoop* node) ...@@ -650,8 +648,6 @@ bool TOutputGLSL::visitLoop(Visit visit, TIntermLoop* node)
bool TOutputGLSL::visitBranch(Visit visit, TIntermBranch* node) bool TOutputGLSL::visitBranch(Visit visit, TIntermBranch* node)
{ {
TInfoSinkBase &out = objSink();
switch (node->getFlowOp()) switch (node->getFlowOp())
{ {
case EOpKill: writeTriplet(visit, "discard", NULL, NULL); break; case EOpKill: writeTriplet(visit, "discard", NULL, NULL); break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment