commit | 9a8392b8acf2803f344060f21b0ce4a07df3de7e | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Fri Sep 13 08:16:06 2013 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Fri Sep 13 08:16:06 2013 +0000 |
tree | 194a3414bf656f93266bed887a2a92092588bd99 | |
parent | 630c5e06d633fad142af4b145ee684e90754700e [diff] [blame] |
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
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 @@ } } assert(Found && "Capturing call-site captured nothing?"); + (void)Found; return false; }