Skip to content

Commit 22e8f06

Browse files
committed
don't used brace initialization
1 parent 3e11d68 commit 22e8f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Parser/message.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ void Messages::Emit(llvm::raw_ostream &o, const AllCookedSources &allCooked,
480480
std::vector<const Message *> msgsWithLastLocation;
481481
std::size_t errorsEmitted{0};
482482
for (const Message *msg : sorted) {
483-
bool shouldSkipMsg = false;
483+
bool shouldSkipMsg{false};
484484
// Don't emit two identical messages for the same location
485485
// At the same location messages are sorted by the order they were
486486
// added to the list, which is a decent proxy for the causality

0 commit comments

Comments
 (0)