mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +00:00
Cast variable to void to resolve unused variable warning in non-asserts builds.
llvm-svn: 255704
This commit is contained in:
parent
c663be5f98
commit
bf34638e13
@ -89,6 +89,7 @@ ConstantInt *CrossDSOCFI::extractBitSetTypeId(MDNode *MD) {
|
||||
// Can be null if a function was removed by an optimization.
|
||||
if (FM) {
|
||||
auto F = dyn_cast<Function>(FM->getValue());
|
||||
(void)F;
|
||||
// But can never be a function declaration.
|
||||
assert(!F || !F->isDeclaration());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user