diff options
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 8e6b6c5c53..c727e88adb 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -9582,14 +9582,11 @@ static ExprResult captureInLambda(Sema &S, LambdaScopeInfo *LSI, // the source array, and other clients (e.g., CodeGen) will perform // the necessary iteration with these index variables. SmallVector<VarDecl *, 4> IndexVariables; - bool InitializingArray = false; QualType BaseType = FieldType; QualType SizeType = S.Context.getSizeType(); LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size()); while (const ConstantArrayType *Array = S.Context.getAsConstantArrayType(BaseType)) { - InitializingArray = true; - // Create the iteration variable for this array index. IdentifierInfo *IterationVarName = 0; { |