[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotCalculator.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Jul 12 13:30:02 PDT 2004



Changes in directory llvm/lib/Bytecode/Writer:

SlotCalculator.cpp updated: 1.58 -> 1.59

---
Log message:

Fix unused var warning


---
Diffs of the changes:  (+2 -3)

Index: llvm/lib/Bytecode/Writer/SlotCalculator.cpp
diff -u llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.58 llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.59
--- llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.58	Sun Jul  4 06:42:49 2004
+++ llvm/lib/Bytecode/Writer/SlotCalculator.cpp	Mon Jul 12 15:29:52 2004
@@ -773,9 +773,8 @@
       // 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());
       }
     }
   }





More information about the llvm-commits mailing list