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 | dffc974d71224999d7fcb14c6222d0c9bcce2c58 (patch) | |
tree | a5ac2d3b1e240046720950dcbde934883369c54a | |
parent | de6582ba681556834ad51cbde209e3cc4f18f3ce (diff) | |
download | external_llvm-dffc974d71224999d7fcb14c6222d0c9bcce2c58.zip external_llvm-dffc974d71224999d7fcb14c6222d0c9bcce2c58.tar.gz external_llvm-dffc974d71224999d7fcb14c6222d0c9bcce2c58.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(); |