Commit 5a6c38fb authored by peter klausler's avatar peter klausler
Browse files

[flang] Fix build

An unused variable declaration from a recent change is eliciting
a fatal warning; remove it.
parent f18c0739
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -319,7 +319,6 @@ void Prescanner::EnforceStupidEndStatementRules(const TokenSequence &tokens) {
  j += 3;
  static const char *const prefixes[]{"program", "subroutine", "function",
      "blockdata", "module", "submodule", nullptr};
  CharBlock stmt{tokens.ToCharBlock()};
  bool isPrefix{j == n || !IsLegalInIdentifier(str[j])}; // prefix is END
  std::size_t endOfPrefix{j - 1};
  for (const char *const *p{prefixes}; *p; ++p) {