Fix unused var warning
authorChris Lattner <sabre@nondot.org>
Mon, 12 Jul 2004 20:29:52 +0000 (20:29 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Jul 2004 20:29:52 +0000 (20:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14775 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/SlotCalculator.cpp

index f8d4b417f1d3854a37bb5b7d0a271f5164c1a2b9..21835ce972e2df42c18e4d77e2d9e3478b5361e0 100644 (file)
@@ -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());
       }
     }
   }