Commit 4f488494 by Cooper Partin Committed by Jamie Madill

Fixed compiler warning C4457 'declaration of 'node' hides function parameter'.

BUG=angleproject:1119 Change-Id: Ie3de5a776b5860b1ca502cee9e2b19c41cd3bfb2 Reviewed-on: https://chromium-review.googlesource.com/292051Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarCooper Partin <coopp@microsoft.com>
parent b459fb04
......@@ -245,9 +245,9 @@ class PullComputeDiscontinuousLoops : public TIntermTraverser
// A return or discard jumps out of all the enclosing loops
if (!mLoopsAndSwitches.empty())
{
for (TIntermNode* node : mLoopsAndSwitches)
for (TIntermNode *intermNode : mLoopsAndSwitches)
{
TIntermLoop *loop = node->getAsLoopNode();
TIntermLoop *loop = intermNode->getAsLoopNode();
if (loop)
{
mMetadata->mDiscontinuousLoops.insert(loop);
......
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