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:
630c5e0
)
Avoid a compiler warning about Found not being used when assertions are
author
Duncan Sands
<baldrick@free.fr>
Fri, 13 Sep 2013 08:16:06 +0000
(08:16 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Fri, 13 Sep 2013 08:16:06 +0000
(08:16 +0000)
disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190668
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/FunctionAttrs.cpp
b/lib/Transforms/IPO/FunctionAttrs.cpp
index 20d168056caefddd2c857cfb9c99bdbc82d242ed..386cb7154aab38cf89cb90b1a6aeebd3680d7910 100644
(file)
--- a/
lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/
lib/Transforms/IPO/FunctionAttrs.cpp
@@
-367,6
+367,7
@@
namespace {
}
}
assert(Found && "Capturing call-site captured nothing?");
+ (void)Found;
return false;
}