[flang] Remove unused variable

Reviewers: sscalpone, jdoerfert, DavidTruby

Reviewed By: sscalpone

Subscribers: llvm-commits

Tags: #flang, #llvm

Differential Revision: https://reviews.llvm.org/D78725
This commit is contained in:
Tim Keith 2020-04-23 09:14:58 -07:00
parent 1ca16fc4f5
commit 4ced7a48e6
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ const DeclTypeSpec *InstantiateHelper::InstantiateType(const Symbol &symbol) {
return &FindOrInstantiateDerivedType(scope_,
CreateDerivedTypeSpec(*spec, symbol.test(Symbol::Flag::ParentComp)),
context_, type->category());
} else if (const IntrinsicTypeSpec * intrinsic{type->AsIntrinsic()}) {
} else if (type->AsIntrinsic()) {
return &InstantiateIntrinsicType(*type);
} else if (type->category() == DeclTypeSpec::ClassStar) {
return type;