We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97be5c6 commit 1e0a085Copy full SHA for 1e0a085
flang/lib/Semantics/check-omp-structure.cpp
@@ -3309,7 +3309,7 @@ void OmpStructureChecker::Enter(const parser::OmpClause::Depend &x) {
3309
}
3310
if (std::get<std::optional<parser::OmpIteratorModifier>>(inOut->t)) {
3311
unsigned version{context_.langOptions().OpenMPVersion};
3312
- unsigned allowedInVersion = 50;
+ unsigned allowedInVersion{50};
3313
if (version < allowedInVersion) {
3314
context_.Say(GetContext().clauseSource,
3315
"Iterator modifiers are not supported in %s, %s"_warn_en_US,
0 commit comments