From 107ae0ad8b8e8960a266f8128671b8e46b17a89c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 16 Apr 2010 04:02:04 +0000 Subject: [PATCH] Silence an unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101438 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index 987712a2dc0..a60877db2f6 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -331,7 +331,7 @@ void cleanupPassRegistrar(void*) { PassRegistrarObj = 0; } } -ManagedCleanup<&cleanupPassRegistrar> registrarCleanup; +ManagedCleanup<&cleanupPassRegistrar> registrarCleanup ATTRIBUTE_USED; } -- 2.34.1