[cfe-commits] r150877 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Feb 18 03:35:28 PST 2012


Author: d0k
Date: Sat Feb 18 05:35:28 2012
New Revision: 150877

URL: http://llvm.org/viewvc/llvm-project?rev=150877&view=rev
Log:
Remove unused but set variable.

Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=150877&r1=150876&r2=150877&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Sat Feb 18 05:35:28 2012
@@ -9582,14 +9582,11 @@
   // 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;
     {





More information about the cfe-commits mailing list