summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc9e95ad0dbabde7bde2f5258d80ea737526cbe97 (patch)
tree459b88aacf3a5e0d0b3cd5e2fd6a74c1fa1ce539 /llvm/lib/Transforms/IPO/FunctionAttrs.cpp
parent70c93d3b1cedd9524217bb6e1ab1a537b729c81e (diff)
downloadbcm5719-llvm-c9e95ad0dbabde7bde2f5258d80ea737526cbe97.tar.gz
bcm5719-llvm-c9e95ad0dbabde7bde2f5258d80ea737526cbe97.zip
Avoid a compiler warning about Found not being used when assertions are
disabled. llvm-svn: 190668
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/FunctionAttrs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
index 20d168056ca..386cb7154aa 100644
--- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
@@ -367,6 +367,7 @@ namespace {
}
}
assert(Found && "Capturing call-site captured nothing?");
+ (void)Found;
return false;
}
OpenPOWER on IntegriCloud