mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
LibJS: Fix uninitialized member variable in DurationFormat
Reported-by: PVS Studio
This commit is contained in:
parent
bfa890251c
commit
bffc29ae34
Notes:
sideshowbarker
2024-07-17 01:37:51 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/bffc29ae34 Pull-request: https://github.com/SerenityOS/serenity/pull/16718
@ -163,7 +163,7 @@ private:
|
||||
DeprecatedString m_locale; // [[Locale]]
|
||||
DeprecatedString m_data_locale; // [[DataLocale]]
|
||||
DeprecatedString m_numbering_system; // [[NumberingSystem]]
|
||||
Style m_style; // [[Style]]
|
||||
Style m_style { Style::Long }; // [[Style]]
|
||||
ValueStyle m_years_style { ValueStyle::Long }; // [[YearsStyle]]
|
||||
Display m_years_display { Display::Auto }; // [[YearsDisplay]]
|
||||
ValueStyle m_months_style { ValueStyle::Long }; // [[MonthsStyle]]
|
||||
|
Loading…
Reference in New Issue
Block a user