From: Evgeniy Stepanov Date: Tue, 15 Dec 2015 23:30:29 +0000 (+0000) Subject: Suppress unused variable warning in the no-asserts build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f028db19d00d5e310a929eb9e64b740f4e70bae9;p=oota-llvm.git Suppress unused variable warning in the no-asserts build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255706 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/CrossDSOCFI.cpp b/lib/Transforms/IPO/CrossDSOCFI.cpp index a91ee845159..e45d456fdbb 100644 --- a/lib/Transforms/IPO/CrossDSOCFI.cpp +++ b/lib/Transforms/IPO/CrossDSOCFI.cpp @@ -92,6 +92,7 @@ ConstantInt *CrossDSOCFI::extractBitSetTypeId(MDNode *MD) { (void)F; // But can never be a function declaration. assert(!F || !F->isDeclaration()); + (void)F; // Suppress unused variable warning in the no-asserts build. } return C; }