summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/FunctionAttrs.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2013-09-13 08:16:06 +0000
committerDuncan Sands <baldrick@free.fr>2013-09-13 08:16:06 +0000
commit9a8392b8acf2803f344060f21b0ce4a07df3de7e (patch)
tree194a3414bf656f93266bed887a2a92092588bd99 /lib/Transforms/IPO/FunctionAttrs.cpp
parent630c5e06d633fad142af4b145ee684e90754700e (diff)
downloadllvm-9a8392b8acf2803f344060f21b0ce4a07df3de7e.tar.gz
llvm-9a8392b8acf2803f344060f21b0ce4a07df3de7e.tar.bz2
llvm-9a8392b8acf2803f344060f21b0ce4a07df3de7e.tar.xz
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/FunctionAttrs.cpp')
-rw-r--r--lib/Transforms/IPO/FunctionAttrs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp
index 20d168056c..386cb7154a 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;
}