forked from OSchip/llvm-project
Remove unused variable, but keep function call with side-effect.
llvm-svn: 130678
This commit is contained in:
parent
61a8dacd00
commit
82e478009f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue