[vlc-devel] [PATCH] playlist_controller: Fix uninitialized member

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 10 16:29:23 CET 2020


---
 modules/gui/qt/playlist/playlist_controller_p.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/playlist/playlist_controller_p.hpp b/modules/gui/qt/playlist/playlist_controller_p.hpp
index f49ec5b636..4fd22c974e 100644
--- a/modules/gui/qt/playlist/playlist_controller_p.hpp
+++ b/modules/gui/qt/playlist/playlist_controller_p.hpp
@@ -58,7 +58,7 @@ public:
     bool m_hasPrev = false;
     PlaylistControllerModel::PlaybackRepeat m_repeat = PlaylistControllerModel::PLAYBACK_REPEAT_NONE;
     bool m_random = false;
-    bool m_isPlayAndExit;
+    bool m_isPlayAndExit = false;
     bool m_empty = true;
     size_t m_count = 0;
     PlaylistControllerModel::SortKey m_sortKey = PlaylistControllerModel::SORT_KEY_NONE;
-- 
2.29.2



More information about the vlc-devel mailing list