1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:58:14 +00: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:
Brian Gianforcaro 2020-08-16 15:26:21 -07:00 committed by Andreas Kling
parent eed9f2bac3
commit e160181a73

View file

@ -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 };
};