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 61cfa79..eb49b0c 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -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());