From 9a5c4e09f54ed28154d3ec72b7f73e0d3fad02dc Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 28 Feb 2009 01:10:24 +0000 Subject: [PATCH] Avoid unused parameter warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/BasicBlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 29caa0ab192..fdd3ea87d6f 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -29,7 +29,7 @@ template<> struct ilist_traits Instruction *createSentinel() const { return const_cast(static_cast(&Sentinel)); } - static void destroySentinel(Instruction *I) { } + static void destroySentinel(Instruction *I) { I = I; } static iplist &getList(BasicBlock *BB); static ValueSymbolTable *getSymTab(BasicBlock *ItemParent); static int getListOffset();