[llvm-commits] [llvm] r156466 - /llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp

Craig Topper craig.topper at gmail.com
Wed May 9 00:08:58 PDT 2012


Author: ctopper
Date: Wed May  9 02:08:58 2012
New Revision: 156466

URL: http://llvm.org/viewvc/llvm-project?rev=156466&view=rev
Log:
Remove unused variable to get rid of warning.

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

Modified: llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp?rev=156466&r1=156465&r2=156466&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp Wed May  9 02:08:58 2012
@@ -3902,7 +3902,7 @@
   if (Load->getParent() != BB) return;
 
   // Walk down to find the store and the release, which may be in either order.
-  BasicBlock::iterator I = Load, End = BB->end();
+  BasicBlock::iterator I = Load;
   ++I;
   AliasAnalysis::Location Loc = AA->getLocation(Load);
   StoreInst *Store = 0;





More information about the llvm-commits mailing list