From: Duncan Sands Date: Fri, 13 Sep 2013 08:16:06 +0000 (+0000) Subject: Avoid a compiler warning about Found not being used when assertions are X-Git-Tag: android-x86-6.0-r1~129^2~2138 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9a8392b8acf2803f344060f21b0ce4a07df3de7e;p=android-x86%2Fexternal-llvm.git 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 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; }