[cfe-commits] r130676 - /cfe/trunk/lib/AST/DeclPrinter.cpp
Nick Lewycky
nicholas at mxc.ca
Sun May 1 18:06:15 PDT 2011
Author: nicholas
Date: Sun May 1 20:06:15 2011
New Revision: 130676
URL: http://llvm.org/viewvc/llvm-project?rev=130676&view=rev
Log:
Remove dead variable caught by GCC.
Modified:
cfe/trunk/lib/AST/DeclPrinter.cpp
Modified: cfe/trunk/lib/AST/DeclPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclPrinter.cpp?rev=130676&r1=130675&r2=130676&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclPrinter.cpp (original)
+++ cfe/trunk/lib/AST/DeclPrinter.cpp Sun May 1 20:06:15 2011
@@ -695,9 +695,6 @@
if (const TemplateTypeParmDecl *TTP =
dyn_cast<TemplateTypeParmDecl>(Param)) {
- QualType ParamType =
- Context.getTypeDeclType(const_cast<TemplateTypeParmDecl*>(TTP));
-
if (TTP->wasDeclaredWithTypename())
Out << "typename ";
else
More information about the cfe-commits
mailing list