diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 01:06:15 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 01:06:15 +0000 |
commit | 7548beb2fcddcecedc2c7702a139a739eba79b93 (patch) | |
tree | dacd2d29d0b17228481f64592a1c7892baac1379 /lib/AST/DeclPrinter.cpp | |
parent | 5ebd9fea8b4b998ec75eb2bf59644e86205bc9aa (diff) |
Remove dead variable caught by GCC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclPrinter.cpp')
-rw-r--r-- | lib/AST/DeclPrinter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp index bc1e899a61..2fd88d7c80 100644 --- a/lib/AST/DeclPrinter.cpp +++ b/lib/AST/DeclPrinter.cpp @@ -695,9 +695,6 @@ void DeclPrinter::VisitTemplateDecl(const TemplateDecl *D) { if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) { - QualType ParamType = - Context.getTypeDeclType(const_cast<TemplateTypeParmDecl*>(TTP)); - if (TTP->wasDeclaredWithTypename()) Out << "typename "; else |