Skip to content

Commit 712359d

Browse files
committed
[Flang] Fix -werror from recent resolve-names.cpp changes, left over unused variable
1 parent 5e79ae6 commit 712359d

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)