Removing unused initialization.

llvm-svn: 144264
This commit is contained in:
David Blaikie 2011-11-10 05:42:04 +00:00
parent 28fc70910f
commit 4d14296263
1 changed files with 1 additions and 2 deletions

View File

@ -1038,8 +1038,7 @@ Decl *TemplateDeclInstantiator::VisitFunctionDecl(FunctionDecl *D,
LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
SmallVector<ParmVarDecl *, 4> Params;
TypeSourceInfo *TInfo = D->getTypeSourceInfo();
TInfo = SubstFunctionType(D, Params);
TypeSourceInfo *TInfo = SubstFunctionType(D, Params);
if (!TInfo)
return 0;
QualType T = TInfo->getType();