From d386615ed3ac94407105096ba0add4372a4f829d Mon Sep 17 00:00:00 2001 From: Arnold Schwaighofer Date: Tue, 9 Jun 2015 00:17:40 +0000 Subject: [PATCH] Fix unused variable warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239369 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/MergeFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/IPO/MergeFunctions.cpp b/lib/Transforms/IPO/MergeFunctions.cpp index 6ef1ac77da3..5acd8e248d8 100644 --- a/lib/Transforms/IPO/MergeFunctions.cpp +++ b/lib/Transforms/IPO/MergeFunctions.cpp @@ -1437,6 +1437,7 @@ void MergeFunctions::replaceFunctionInTree(FnTreeType::iterator &IterToF, assert((F->mayBeOverridden() && G->mayBeOverridden()) || (!F->mayBeOverridden() && !G->mayBeOverridden()) && "Only change functions if both are strong or both are weak"); + (void)F; IterToF->replaceBy(G); } -- 2.34.1