Remove pointless return; at end of function.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 21 Oct 2009 23:27:54 +0000 (23:27 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 21 Oct 2009 23:27:54 +0000 (23:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84794 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Metadata.cpp

index 422a21545adb3b3852e7198baee8fac5531f1d9f..92e4910e422b50b601b09c9337f3002eb97d1556 100644 (file)
@@ -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.