[vlc-commits] vout: xcb_x11: missing initializer (cid #1049025)

Francois Cartegnie git at videolan.org
Thu Apr 17 14:11:36 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 17 13:32:02 2014 +0200| [b18082ac016c869daaea93a613f4529a21bf2dba] | committer: Francois Cartegnie

vout: xcb_x11: missing initializer (cid #1049025)

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

 modules/video_output/xcb/x11.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index c68288d..621fe05 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -128,7 +128,7 @@ static int Open (vlc_object_t *obj)
 
     /* Determine our pixel format */
     video_format_t fmt_pic;
-    xcb_visualid_t vid;
+    xcb_visualid_t vid = 0;
     sys->depth = 0;
 
     for (const xcb_format_t *fmt = xcb_setup_pixmap_formats (setup),



More information about the vlc-commits mailing list