[cfe-commits] r50484 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Chris Lattner sabre at nondot.org
Wed Apr 30 09:04:01 PDT 2008


Author: lattner
Date: Wed Apr 30 11:04:01 2008
New Revision: 50484

URL: http://llvm.org/viewvc/llvm-project?rev=50484&view=rev
Log:
fix 'var unused' warning.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=50484&r1=50483&r2=50484&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Wed Apr 30 11:04:01 2008
@@ -2449,8 +2449,8 @@
     return;
   }
 
-  QualType QTy = Context.getTypeDeclType(decl);
-  const RecordType *Ty = QTy->getAsUnionType();
+  //QualType QTy = Context.getTypeDeclType(decl);
+  //const RecordType *Ty = QTy->getAsUnionType();
 
 // FIXME
 // Ty->addAttr(new TransparentUnionAttr());





More information about the cfe-commits mailing list