From f49c27c65c524d16656e179a751aabd5d3fec836 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Jan 2005 17:46:49 +0000 Subject: [PATCH] Squelch optimized warning. llvm-svn: 19475 --- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index ed58c1836908..881784d08c5d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -617,6 +617,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) { Args.push_back(std::make_pair(Tmp4, IntPtrTy)); FnName = Node->getOpcode() == ISD::MEMMOVE ? "memmove" : "memcpy"; } else { + FnName = 0; assert(0 && "Unknown op!"); } std::pair CallResult =