From: Richard Trieu Date: Tue, 15 Dec 2015 23:47:17 +0000 (+0000) Subject: Remove one of the void casts used to suppress unused variable warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d532d9e346c6925fa626c92ad2b47692e3758886;p=oota-llvm.git Remove one of the void casts used to suppress unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/CrossDSOCFI.cpp b/lib/Transforms/IPO/CrossDSOCFI.cpp index e45d456fdbb..5bbb7513005 100644 --- a/lib/Transforms/IPO/CrossDSOCFI.cpp +++ b/lib/Transforms/IPO/CrossDSOCFI.cpp @@ -89,7 +89,6 @@ ConstantInt *CrossDSOCFI::extractBitSetTypeId(MDNode *MD) { // Can be null if a function was removed by an optimization. if (FM) { auto F = dyn_cast(FM->getValue()); - (void)F; // But can never be a function declaration. assert(!F || !F->isDeclaration()); (void)F; // Suppress unused variable warning in the no-asserts build.