From 7548beb2fcddcecedc2c7702a139a739eba79b93 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 2 May 2011 01:06:15 +0000 Subject: [PATCH] Remove dead variable caught by GCC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130676 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/DeclPrinter.cpp | 3 --- 1 file changed, 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(Param)) { - QualType ParamType = - Context.getTypeDeclType(const_cast(TTP)); - if (TTP->wasDeclaredWithTypename()) Out << "typename "; else -- 2.40.0