[vlc-devel] commit: Missing loop iterator initialization (Hugo Beauzee-Luyssen )

git version control git at videolan.org
Mon Aug 24 18:40:50 CEST 2009


vlc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Sun Aug 23 23:57:23 2009 +0200| [7fe6a6974bf47daf77d2f18757c7cdc646641bb0] | committer: Rémi Denis-Courmont 

Missing loop iterator initialization

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/video_output/xcb/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 5f7376c..5c9bd4a 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -431,7 +431,7 @@ static int AcquireDrawable (vlc_object_t *obj, xcb_window_t window)
 {
     vlc_value_t val;
     xcb_window_t *used;
-    size_t n;
+    size_t n = 0;
 
     if (var_Create (obj->p_libvlc, "xid-in-use", VLC_VAR_ADDRESS))
         return VLC_ENOMEM;




More information about the vlc-devel mailing list