diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-30 16:04:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-30 16:04:01 +0000 |
commit | 226249424893f9375ab4e5dabb4d2d9677263835 (patch) | |
tree | 109d241637b118642c29d7c8b0fcd924cdad94c0 | |
parent | e866a7c654758cf42b0cc748a481661755ba6144 (diff) |
fix 'var unused' warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50484 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |