From: Philip Reames Date: Wed, 4 Feb 2015 05:11:20 +0000 (+0000) Subject: Fix a warning in non-asserts builds X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c27a1d9ccbe01e95039a9cdcab6d835d2127f788;p=oota-llvm.git Fix a warning in non-asserts builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228114 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/PlaceSafepoints.cpp b/lib/Transforms/Scalar/PlaceSafepoints.cpp index 01b49c2ffd0..e743a5bce72 100644 --- a/lib/Transforms/Scalar/PlaceSafepoints.cpp +++ b/lib/Transforms/Scalar/PlaceSafepoints.cpp @@ -761,6 +761,7 @@ InsertSafepointPoll(DominatorTree &DT, Instruction *term, InlineFunctionInfo IFI; bool inlineStatus = InlineFunction(poll, IFI); assert(inlineStatus && "inline must succeed"); + (void)inlineStatus; // suppress warning in release-asserts // Check post conditions assert(IFI.StaticAllocas.empty() && "can't have allocs");