mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
Piano: Uninitialized member variables in RollWidet, found by Coverity
This seem like they wouldn't cause any problems in reality, but it's nice to fix them to avoid any future misuse.
This commit is contained in:
parent
eed9f2bac3
commit
e160181a73
Notes:
sideshowbarker
2024-07-19 03:31:10 +09:00
Author: https://github.com/bgianfo
Commit: e160181a73
Pull-request: https://github.com/SerenityOS/serenity/pull/3184
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
1 changed files with 3 additions and 3 deletions
|
@ -46,8 +46,8 @@ private:
|
|||
|
||||
TrackManager& m_track_manager;
|
||||
|
||||
int m_roll_width;
|
||||
int m_num_notes;
|
||||
double m_note_width;
|
||||
int m_roll_width { 0 };
|
||||
int m_num_notes { 0 };
|
||||
double m_note_width { 0.0 };
|
||||
int m_zoom_level { 1 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue