From: Benjamin Kramer Date: Wed, 21 Oct 2009 23:27:54 +0000 (+0000) Subject: Remove pointless return; at end of function. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e31cd34b8a7c58ef3ba3fef102b4281a84cb4ff8;p=oota-llvm.git Remove pointless return; at end of function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84794 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp index 422a21545ad..92e4910e422 100644 --- a/lib/VMCore/Metadata.cpp +++ b/lib/VMCore/Metadata.cpp @@ -307,7 +307,6 @@ void MetadataContext::addMD(unsigned MDKind, MDNode *Node, Instruction *Inst) { // Otherwise add a new entry. Info.push_back(std::make_pair(MDKind, Node)); - return; } /// removeMD - Remove metadata of given kind attached with an instuction. @@ -324,8 +323,6 @@ void MetadataContext::removeMD(unsigned Kind, Instruction *Inst) { return; } } - - return; } /// removeAllMetadata - Remove all metadata attached with an instruction.