We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e79ae6 commit 712359dCopy full SHA for 712359d
flang/lib/Semantics/resolve-names.cpp
@@ -8369,7 +8369,6 @@ bool DeclarationVisitor::FindAndMarkDeclareTargetSymbol(
8369
// Search preceding scopes until we find a matching symbol or run out
8370
// of scopes to search, we skip the current scope as it's already been
8371
// designated as implicit here.
8372
- Symbol *symbol = nullptr;
8373
for (auto *scope = &currScope().parent();; scope = &scope->parent()) {
8374
if (Symbol * symbol{scope->FindSymbol(name.source)}) {
8375
if (symbol->test(Symbol::Flag::Subroutine) ||
0 commit comments