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 /include/llvm/BasicBlock.h | |
parent | 7cbb95fa69ce6cb03ba852dbf99752aededf262d (diff) |
Avoid unused parameter warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/BasicBlock.h')
-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 29caa0ab19..fdd3ea87d6 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(); |