[vlc-devel] commit: Unitialized variable ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 5 18:00:22 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Feb  5 18:57:56 2009 +0200| [37acd67edfa16ebd122e75d9e9057885a3569911] | committer: Rémi Denis-Courmont 

Unitialized variable

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

 modules/control/hotkeys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index aeba7fd..b4e5271 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -936,7 +936,7 @@ static int SpecialKeyEvent( vlc_object_t *libvlc, char const *psz_var,
                             void *p_data )
 {
     intf_thread_t *p_intf = (intf_thread_t *)p_data;
-    int i_action;
+    int i_action = 0;
 
     (void)psz_var;
     (void)oldval;




More information about the vlc-devel mailing list