[vlc-commits] Qt: SeekStyle: fix uninitialized variable (cid #1313826)

Tristan Matthews git at videolan.org
Fri Jul 31 12:32:32 CEST 2015


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Fri Jul 31 06:14:35 2015 -0400| [06d208ea16f0283a000ea2f45b1ff384c5ffcbca] | committer: Tristan Matthews

Qt: SeekStyle: fix uninitialized variable (cid #1313826)

Possibly refs #13841

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

 modules/gui/qt4/styles/seekstyle.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt4/styles/seekstyle.cpp b/modules/gui/qt4/styles/seekstyle.cpp
index 031a225..923e4d9 100644
--- a/modules/gui/qt4/styles/seekstyle.cpp
+++ b/modules/gui/qt4/styles/seekstyle.cpp
@@ -34,7 +34,8 @@
 #define CHAPTERSSPOTSIZE 3
 
 SeekStyle::SeekStyleOption::SeekStyleOption()
-    : QStyleOptionSlider(), buffering( 1.0 ), length(0), animate(false), animationopacity( 1.0 )
+    : QStyleOptionSlider(), buffering( 1.0 ), length(0), animate(false), animationopacity( 1.0 ),
+      animationloading(0.0)
 {
 
 }



More information about the vlc-commits mailing list