aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-16 04:02:04 +0000
committerEric Christopher <echristo@apple.com>2010-04-16 04:02:04 +0000
commit107ae0ad8b8e8960a266f8128671b8e46b17a89c (patch)
tree188cc7c5cce8c926a677487694ce54bf3dc03b5a
parenta0bada729ffaa1bfc80ef25935bdc5a67432708f (diff)
Silence an unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101438 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index 987712a2dc..a60877db2f 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;
}