From: Eric Christopher Date: Fri, 16 Apr 2010 04:02:04 +0000 (+0000) Subject: Silence an unused variable warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=107ae0ad8b8e8960a266f8128671b8e46b17a89c;p=oota-llvm.git Silence an unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101438 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }