Skip to content

Commit

Permalink
Initialize errors to nullptr in MessageFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Sep 19, 2024
1 parent e39cce5 commit 135a911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/i18n/unicode/messageformat2.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ namespace message2 {
// Must be a raw pointer to avoid including the internal header file
// defining StaticErrors
// Owned by `this`
StaticErrors* errors;
StaticErrors* errors = nullptr;

}; // class MessageFormatter

Expand Down

0 comments on commit 135a911

Please sign in to comment.