diff options
author | Duncan Sands <baldrick@free.fr> | 2013-09-13 08:16:06 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2013-09-13 08:16:06 +0000 |
commit | 9a8392b8acf2803f344060f21b0ce4a07df3de7e (patch) | |
tree | 194a3414bf656f93266bed887a2a92092588bd99 /lib/Transforms/IPO | |
parent | 630c5e06d633fad142af4b145ee684e90754700e (diff) | |
download | external_llvm-9a8392b8acf2803f344060f21b0ce4a07df3de7e.zip external_llvm-9a8392b8acf2803f344060f21b0ce4a07df3de7e.tar.gz external_llvm-9a8392b8acf2803f344060f21b0ce4a07df3de7e.tar.bz2 |
Avoid a compiler warning about Found not being used when assertions are
disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/FunctionAttrs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp index 20d1680..386cb71 100644 --- 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; } |