[flang] Fix a warning

This patch fixes:

  flang/lib/Semantics/check-do-forall.cpp:731:9: error: default label
  in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]
This commit is contained in:
Kazu Hirata 2024-05-30 13:19:03 -07:00
parent 7b80489390
commit 224581cf3c

View File

@ -728,9 +728,6 @@ private:
typeMismatch("INTEGER");
}
break;
default:
supportedIdentifier = false;
break;
}
}
if (!supportedIdentifier) {