Eliminate unused variable.
authorDuncan Sands <baldrick@free.fr>
Fri, 18 Jul 2008 21:07:41 +0000 (21:07 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 18 Jul 2008 21:07:41 +0000 (21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53772 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp

index a9b07afc90f87445a3a41805345d615c48a6ce7e..2ca4d8fa6cfe018387adbb83ec87b61fe6a7659d 100644 (file)
@@ -160,7 +160,7 @@ std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
     Op += '<';
     if (!V) {
       Op += "(unknown)";
-    } else if (const PseudoSourceValue *PSV = dyn_cast<PseudoSourceValue>(V)) {
+    } else if (isa<PseudoSourceValue>(V)) {
       // PseudoSourceValues don't have names, so use their print method.
       std::ostringstream SS;
       M->MO.getValue()->print(SS);