[vlc-commits] commit: Fix use of unitialized value. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Thu Nov 11 11:44:27 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Nov 11 11:18:10 2010 +0100| [53ee46f25511be4057e325c5875a3749de32a64b] | committer: Rémi Duraffort 

Fix use of unitialized value.

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

 src/win32/specific.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/win32/specific.c b/src/win32/specific.c
index 531e292..2d8f4ee 100644
--- a/src/win32/specific.c
+++ b/src/win32/specific.c
@@ -65,6 +65,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
         }
         else psz_path[0] = '\0';
     }
+    else psz_path[0] = '\0';
 
     psz_vlc = strrchr( psz_path, '\\' );
     if( psz_vlc )



More information about the vlc-commits mailing list