[llvm] r175568 - Remove unused variable.

Jakub Staszak kubastaszak at gmail.com
Tue Feb 19 14:17:58 PST 2013


Author: kuba
Date: Tue Feb 19 16:17:58 2013
New Revision: 175568

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

Modified:
    llvm/trunk/lib/Transforms/Scalar/SROA.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=175568&r1=175567&r2=175568&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Tue Feb 19 16:17:58 2013
@@ -1167,8 +1167,7 @@ void AllocaPartitioning::print(raw_ostre
   }
 
   OS << "Partitioning of alloca: " << AI << "\n";
-  unsigned Num = 0;
-  for (const_iterator I = begin(), E = end(); I != E; ++I, ++Num) {
+  for (const_iterator I = begin(), E = end(); I != E; ++I) {
     print(OS, I);
     printUsers(OS, I);
   }





More information about the llvm-commits mailing list