[vlc-commits] Qt4: Fixed uninitialized variable

Sharad Dixit git at videolan.org
Thu Jan 5 02:43:52 CET 2012


vlc | branch: master | Sharad Dixit <sharad.eminence at gmail.com> | Thu Jan  5 02:41:15 2012 +0100| [c023657699e30dbdb6681d5364e73c3114f7e27e] | committer: Jean-Baptiste Kempf

Qt4: Fixed uninitialized variable

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/dialogs/bookmarks.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/bookmarks.cpp b/modules/gui/qt4/dialogs/bookmarks.cpp
index fa0ccd0..8b6ba9d 100644
--- a/modules/gui/qt4/dialogs/bookmarks.cpp
+++ b/modules/gui/qt4/dialogs/bookmarks.cpp
@@ -109,7 +109,7 @@ void BookmarksDialog::update()
     if( !p_input ) return;
 
     seekpoint_t **pp_bookmarks;
-    int i_bookmarks;
+    int i_bookmarks = 0;
 
     if( bookmarksList->topLevelItemCount() > 0 )
     {



More information about the vlc-commits mailing list