From c27a1d9ccbe01e95039a9cdcab6d835d2127f788 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Wed, 4 Feb 2015 05:11:20 +0000 Subject: [PATCH] Fix a warning in non-asserts builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228114 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/PlaceSafepoints.cpp | 1 + 1 file changed, 1 insertion(+) 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");