aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-30 16:04:01 +0000
committerChris Lattner <sabre@nondot.org>2008-04-30 16:04:01 +0000
commit226249424893f9375ab4e5dabb4d2d9677263835 (patch)
tree109d241637b118642c29d7c8b0fcd924cdad94c0
parente866a7c654758cf42b0cc748a481661755ba6144 (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.cpp4
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());