summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-12 20:29:52 +0000
committerChris Lattner <sabre@nondot.org>2004-07-12 20:29:52 +0000
commit420fd1425d87416bf216200d9dd52b851c637330 (patch)
tree9a39108ecee5c2adcd8cd6b8e92f41bd58808bac /llvm/lib/Bytecode/Writer/SlotCalculator.cpp
parent534d2523300accf5a83254c1ad8901cbe0fa313f (diff)
downloadbcm5719-llvm-420fd1425d87416bf216200d9dd52b851c637330.tar.gz
bcm5719-llvm-420fd1425d87416bf216200d9dd52b851c637330.zip
Fix unused var warning
llvm-svn: 14775
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/SlotCalculator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
index f8d4b417f1d..21835ce972e 100644
--- a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
@@ -773,9 +773,8 @@ int SlotCalculator::insertType(const Type *Ty, bool dontIgnore) {
// If we haven't seen this sub type before, add it to our type table!
if (getSlot(SubTy) == -1) {
SC_DEBUG(" Inserting subtype: " << SubTy->getDescription() << "\n");
- int Slot = doInsertType(SubTy);
- SC_DEBUG(" Inserted subtype: " << SubTy->getDescription() <<
- " slot=" << Slot << "\n");
+ doInsertType(SubTy);
+ SC_DEBUG(" Inserted subtype: " << SubTy->getDescription());
}
}
}
OpenPOWER on IntegriCloud