From: Duncan Sands Date: Fri, 18 Jul 2008 21:07:41 +0000 (+0000) Subject: Eliminate unused variable. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=f8ac645c59094b1165af6a06af3cc63af96a1dd9 Eliminate unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53772 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index a9b07afc90f..2ca4d8fa6cf 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -160,7 +160,7 @@ std::string DOTGraphTraits::getNodeLabel(const SDNode *Node, Op += '<'; if (!V) { Op += "(unknown)"; - } else if (const PseudoSourceValue *PSV = dyn_cast(V)) { + } else if (isa(V)) { // PseudoSourceValues don't have names, so use their print method. std::ostringstream SS; M->MO.getValue()->print(SS);