From: Evan Cheng Date: Sat, 28 Feb 2009 01:10:24 +0000 (+0000) Subject: Avoid unused parameter warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a5c4e09f54ed28154d3ec72b7f73e0d3fad02dc;p=oota-llvm.git Avoid unused parameter warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();