Remove unused variable, but keep function call with side-effect.

llvm-svn: 130678
This commit is contained in:
Nick Lewycky 2011-05-02 01:07:19 +00:00
parent 61a8dacd00
commit 82e478009f
1 changed files with 1 additions and 1 deletions

View File

@ -4713,7 +4713,7 @@ Decl *Sema::ActOnAliasDeclaration(Scope *S,
bool Invalid = false;
DeclarationNameInfo NameInfo = GetNameFromUnqualifiedId(Name);
TypeSourceInfo *TInfo = 0;
QualType T = GetTypeFromParser(Type.get(), &TInfo);
GetTypeFromParser(Type.get(), &TInfo);
if (DiagnoseClassNameShadow(CurContext, NameInfo))
return 0;