[vlc-commits] vout: missing initializer (cid #1049030)
    Francois Cartegnie 
    git at videolan.org
       
    Sat Nov 30 21:34:48 CET 2013
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Nov 30 21:24:44 2013 +0100| [5e2b1119d5ee46f28113d4de962db879b21cde11] | committer: Francois Cartegnie
vout: missing initializer (cid #1049030)
button might be unmatched
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e2b1119d5ee46f28113d4de962db879b21cde11
---
 src/video_output/event.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video_output/event.h b/src/video_output/event.h
index c8123e8..b076c69 100644
--- a/src/video_output/event.h
+++ b/src/video_output/event.h
@@ -54,7 +54,7 @@ static inline void vout_SendEventMouseMoved(vout_thread_t *vout, int x, int y)
 }
 static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button)
 {
-    int key;
+    int key = KEY_UNSET;
     var_OrInteger(vout, "mouse-button-down", 1 << button);
 
     switch (button)
    
    
More information about the vlc-commits
mailing list