From 26538e8cc5d4aec1daf6243a1729fe2e99d73447 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 18 Feb 2012 11:35:28 +0000 Subject: Remove unused but set variable. llvm-svn: 150877 --- clang/lib/Sema/SemaExpr.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang') diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 8e6b6c5..c727e88 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/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 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; { -- cgit v1.1