From: Chris Lattner Date: Wed, 30 Apr 2008 16:04:01 +0000 (+0000) Subject: fix 'var unused' warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=226249424893f9375ab4e5dabb4d2d9677263835;p=clang fix 'var unused' warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50484 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 61cfa798c2..eb49b0c664 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -2449,8 +2449,8 @@ void Sema::HandleTransparentUnionAttribute(Decl *d, AttributeList *rawAttr) { 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());