[cfe-commits] r158353 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Bill Wendling isanbard at gmail.com
Mon Jun 11 23:53:25 PDT 2012


Author: void
Date: Tue Jun 12 01:53:25 2012
New Revision: 158353

URL: http://llvm.org/viewvc/llvm-project?rev=158353&view=rev
Log:
Remove unused variable.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=158353&r1=158352&r2=158353&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Tue Jun 12 01:53:25 2012
@@ -1565,7 +1565,6 @@
 
 /// 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.





More information about the cfe-commits mailing list