SoundPlayer: Uninitialized variable in SoundPlayerWidget, found by Coverity

This commit is contained in:
Brian Gianforcaro 2020-08-16 15:30:53 -07:00 committed by Andreas Kling
commit 3ee0917dcb
Notes: sideshowbarker 2024-07-19 03:31:01 +09:00

View file

@ -79,7 +79,7 @@ private:
GUI::Window& m_window; GUI::Window& m_window;
NonnullRefPtr<Audio::ClientConnection> m_connection; NonnullRefPtr<Audio::ClientConnection> m_connection;
PlaybackManager m_manager; PlaybackManager m_manager;
float m_sample_ratio; float m_sample_ratio { 1.0 };
RefPtr<GUI::Label> m_status; RefPtr<GUI::Label> m_status;
RefPtr<GUI::Label> m_elapsed; RefPtr<GUI::Label> m_elapsed;
RefPtr<GUI::Label> m_remaining; RefPtr<GUI::Label> m_remaining;