diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-18 11:35:28 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-18 11:35:28 +0000 |
commit | 8b1d32bf63bce17503a979bb99fe008cabc05a0e (patch) | |
tree | d766d15498fb653ca6b7e215d5af597aeb86e943 | |
parent | 999713eea940f4e087cc3ac878689c5c5c7a7225 (diff) |
Remove unused but set variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150877 91177308-0d34-0410-b5e6-96231b3b80d8
-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; { |