Skip to content

Commit 1e0a085

Browse files
committed
use brace initialization
1 parent 97be5c6 commit 1e0a085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Semantics/check-omp-structure.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3309,7 +3309,7 @@ void OmpStructureChecker::Enter(const parser::OmpClause::Depend &x) {
33093309
}
33103310
if (std::get<std::optional<parser::OmpIteratorModifier>>(inOut->t)) {
33113311
unsigned version{context_.langOptions().OpenMPVersion};
3312-
unsigned allowedInVersion = 50;
3312+
unsigned allowedInVersion{50};
33133313
if (version < allowedInVersion) {
33143314
context_.Say(GetContext().clauseSource,
33153315
"Iterator modifiers are not supported in %s, %s"_warn_en_US,

0 commit comments

Comments
 (0)