aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode
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
commitaec6dd5bbc22187b02c893874c9755e38c50fcc0 (patch)
treef42625870a20521f2f7431d7205d1afaae1ebf6c /lib/Bytecode
parent88e2b780cbac5b5902e1c2813f3e920286b6d9a8 (diff)
Fix unused var warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp
index f8d4b417f1..21835ce972 100644
--- a/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/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());
}
}
}