Remove unused but set variable.

llvm-svn: 150877
This commit is contained in:
Benjamin Kramer 2012-02-18 11:35:28 +00:00
parent 4d9547332c
commit 26538e8cc5
1 changed files with 0 additions and 3 deletions

View File

@ -9582,14 +9582,11 @@ static ExprResult captureInLambda(Sema &S, LambdaScopeInfo *LSI,
// the source array, and other clients (e.g., CodeGen) will perform // the source array, and other clients (e.g., CodeGen) will perform
// the necessary iteration with these index variables. // the necessary iteration with these index variables.
SmallVector<VarDecl *, 4> IndexVariables; SmallVector<VarDecl *, 4> IndexVariables;
bool InitializingArray = false;
QualType BaseType = FieldType; QualType BaseType = FieldType;
QualType SizeType = S.Context.getSizeType(); QualType SizeType = S.Context.getSizeType();
LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size()); LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size());
while (const ConstantArrayType *Array while (const ConstantArrayType *Array
= S.Context.getAsConstantArrayType(BaseType)) { = S.Context.getAsConstantArrayType(BaseType)) {
InitializingArray = true;
// Create the iteration variable for this array index. // Create the iteration variable for this array index.
IdentifierInfo *IterationVarName = 0; IdentifierInfo *IterationVarName = 0;
{ {