projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b942424
)
Remove one of the void casts used to suppress unused variable warning.
author
Richard Trieu
<rtrieu@google.com>
Tue, 15 Dec 2015 23:47:17 +0000
(23:47 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Tue, 15 Dec 2015 23:47:17 +0000
(23:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255709
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/CrossDSOCFI.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/CrossDSOCFI.cpp
b/lib/Transforms/IPO/CrossDSOCFI.cpp
index e45d456fdbb7ad3e93df89c0df961ece712b0ec3..5bbb7513005c6e1dc07713ed153401512b33c18e 100644
(file)
--- 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<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.