Skip to content

Commit 9aeaf17

Browse files
klauslerjeanPerier
authored andcommitted
[flang] Fix build
An unused variable declaration from a recent change is eliciting a fatal warning; remove it.
1 parent a256c93 commit 9aeaf17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Parser/prescan.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ void Prescanner::EnforceStupidEndStatementRules(const TokenSequence &tokens) {
319319
j += 3;
320320
static const char *const prefixes[]{"program", "subroutine", "function",
321321
"blockdata", "module", "submodule", nullptr};
322-
CharBlock stmt{tokens.ToCharBlock()};
323322
bool isPrefix{j == n || !IsLegalInIdentifier(str[j])}; // prefix is END
324323
std::size_t endOfPrefix{j - 1};
325324
for (const char *const *p{prefixes}; *p; ++p) {

0 commit comments

Comments
 (0)