summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-06-12 06:53:25 +0000
committerBill Wendling <isanbard@gmail.com>2012-06-12 06:53:25 +0000
commitd4da16c193d208be858d9c70e4575c3e12214650 (patch)
tree74843312bd5a5a73911b4276c9a405396afa2692
parentdb0fbf0a50dbe0fc2708f10bf5dd7dbe34bc1a7d (diff)
downloadbcm5719-llvm-d4da16c193d208be858d9c70e4575c3e12214650.tar.gz
bcm5719-llvm-d4da16c193d208be858d9c70e4575c3e12214650.zip
Remove unused variable.
llvm-svn: 158353
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 534a3155096..2deff030ab4 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -1565,7 +1565,6 @@ llvm::DIType CGDebugInfo::CreateType(const AtomicType *Ty,
/// CreateEnumType - get enumeration type.
llvm::DIType CGDebugInfo::CreateEnumType(const EnumDecl *ED) {
- llvm::DIFile Unit = getOrCreateFile(ED->getLocation());
SmallVector<llvm::Value *, 16> Enumerators;
// Create DIEnumerator elements for each enumerator.
OpenPOWER on IntegriCloud