mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Remove one of the void casts used to suppress unused variable warning.
llvm-svn: 255709
This commit is contained in:
parent
6b286ddce8
commit
9af860a927
@ -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<Function>(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.
|
||||
|
Loading…
Reference in New Issue
Block a user