From 9a8392b8acf2803f344060f21b0ce4a07df3de7e Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 13 Sep 2013 08:16:06 +0000 Subject: [PATCH] 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 --- lib/Transforms/IPO/FunctionAttrs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp index 20d168056ca..386cb7154aa 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; }