[vlc-commits] playlist_controller: Fix uninitialized member

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 11 12:15:48 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 10 16:09:09 2020 +0100| [547e58b86ddadbfea58755cb37133a950eb1d7c2] | committer: Hugo Beauzée-Luyssen

playlist_controller: Fix uninitialized member

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=547e58b86ddadbfea58755cb37133a950eb1d7c2
---

 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;



More information about the vlc-commits mailing list