From b95ed30ea2307dbcbe6199374c1e9a9b7a802ad0 Mon Sep 17 00:00:00 2001 From: Mats Larsen Date: Tue, 21 Jan 2025 01:46:43 +0900 Subject: [IR] Remove unused variables from #123617 Failed to notice them when landing that patch - apologies! --- llvm/lib/Transforms/Utils/ModuleUtils.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp') diff --git a/llvm/lib/Transforms/Utils/ModuleUtils.cpp b/llvm/lib/Transforms/Utils/ModuleUtils.cpp index df31a3d..1c31e85 100644 --- a/llvm/lib/Transforms/Utils/ModuleUtils.cpp +++ b/llvm/lib/Transforms/Utils/ModuleUtils.cpp @@ -29,7 +29,6 @@ using namespace llvm; static void appendToGlobalArray(StringRef ArrayName, Module &M, Function *F, int Priority, Constant *Data) { IRBuilder<> IRB(M.getContext()); - FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); // Get the current set of static global constructors and add the new ctor // to the list. -- cgit v1.1