projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50573b1
)
Remove unused variable.
author
Jakub Staszak
<kubastaszak@gmail.com>
Tue, 19 Feb 2013 22:17:58 +0000
(22:17 +0000)
committer
Jakub Staszak
<kubastaszak@gmail.com>
Tue, 19 Feb 2013 22:17:58 +0000
(22:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175568
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SROA.cpp
b/lib/Transforms/Scalar/SROA.cpp
index 8231c8b2dfa276931af25ac608803386dd2f7697..e90fe907d5967ba2a8c0e86e2b7564830011c4f0 100644
(file)
--- a/
lib/Transforms/Scalar/SROA.cpp
+++ b/
lib/Transforms/Scalar/SROA.cpp
@@
-1167,8
+1167,7
@@
void AllocaPartitioning::print(raw_ostream &OS) const {
}
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);
}