Remove unused var
authorChris Lattner <sabre@nondot.org>
Sat, 5 Jun 2004 00:03:27 +0000 (00:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 Jun 2004 00:03:27 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14033 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/SymbolTable.cpp

index 9e6a77bf672b5ddd1adab796d4b6cac1a20af9a8..13bbef145abbaa051c64eca338e87dbdcc9787c2 100644 (file)
@@ -111,7 +111,6 @@ Value *SymbolTable::removeEntry(plane_iterator Plane, value_iterator Entry) {
 
   Value *Result = Entry->second;
   assert(!isa<Type>(Result) && "Can't remove types through this interface.");
-  const Type *Ty = Result->getType();
 #if DEBUG_SYMBOL_TABLE
   dump();
   std::cerr << " Removing Value: " << Result->getName() << "\n";