Skip to content

Commit ad9142e

Browse files
author
git apple-llvm automerger
committed
Merge commit '712359dae4c1' from llvm.org/main into next
2 parents e8309cc + 712359d commit ad9142e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Semantics/resolve-names.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8369,7 +8369,6 @@ bool DeclarationVisitor::FindAndMarkDeclareTargetSymbol(
83698369
// Search preceding scopes until we find a matching symbol or run out
83708370
// of scopes to search, we skip the current scope as it's already been
83718371
// designated as implicit here.
8372-
Symbol *symbol = nullptr;
83738372
for (auto *scope = &currScope().parent();; scope = &scope->parent()) {
83748373
if (Symbol * symbol{scope->FindSymbol(name.source)}) {
83758374
if (symbol->test(Symbol::Flag::Subroutine) ||

0 commit comments

Comments
 (0)