[vlc-commits] Qt4: Fixed uninitialized variable

Sharad Dixit git at videolan.org
Thu Jan 5 23:19:03 CET 2012


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

Qt4: Fixed uninitialized variable

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit c023657699e30dbdb6681d5364e73c3114f7e27e)

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

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

 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