diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-02-28 01:10:24 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-02-28 01:10:24 +0000 |
commit | 9a5c4e09f54ed28154d3ec72b7f73e0d3fad02dc (patch) | |
tree | a5ac2d3b1e240046720950dcbde934883369c54a | |
parent | 7cbb95fa69ce6cb03ba852dbf99752aededf262d (diff) | |
download | external_llvm-9a5c4e09f54ed28154d3ec72b7f73e0d3fad02dc.zip external_llvm-9a5c4e09f54ed28154d3ec72b7f73e0d3fad02dc.tar.gz external_llvm-9a5c4e09f54ed28154d3ec72b7f73e0d3fad02dc.tar.bz2 |
Avoid unused parameter warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/BasicBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 29caa0a..fdd3ea8 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -29,7 +29,7 @@ template<> struct ilist_traits<Instruction> Instruction *createSentinel() const { return const_cast<Instruction*>(static_cast<const Instruction*>(&Sentinel)); } - static void destroySentinel(Instruction *I) { } + static void destroySentinel(Instruction *I) { I = I; } static iplist<Instruction> &getList(BasicBlock *BB); static ValueSymbolTable *getSymTab(BasicBlock *ItemParent); static int getListOffset(); |