From 3ee0917dcb098e6989ac90853d5415c050443dd1 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 16 Aug 2020 15:30:53 -0700 Subject: [PATCH] SoundPlayer: Uninitialized variable in SoundPlayerWidget, found by Coverity --- Applications/SoundPlayer/SoundPlayerWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/SoundPlayer/SoundPlayerWidget.h b/Applications/SoundPlayer/SoundPlayerWidget.h index 44fb0dd8b4..58500c0d09 100644 --- a/Applications/SoundPlayer/SoundPlayerWidget.h +++ b/Applications/SoundPlayer/SoundPlayerWidget.h @@ -79,7 +79,7 @@ private: GUI::Window& m_window; NonnullRefPtr m_connection; PlaybackManager m_manager; - float m_sample_ratio; + float m_sample_ratio { 1.0 }; RefPtr m_status; RefPtr m_elapsed; RefPtr m_remaining;