[vlc-devel] commit: rc: fix uninitialized value on win32. ( Rémi Duraffort )

git version control git at videolan.org
Mon Mar 9 09:43:07 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar  8 23:42:21 2009 +0100| [f4999335487bd2fc92ad05229356e1d450a8cc99] | committer: Rémi Duraffort 

rc: fix uninitialized value on win32.

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

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

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 3f69001..95fd197 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -214,7 +214,7 @@ vlc_module_end ()
 static int Activate( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t*)p_this;
-    char *psz_host, *psz_unix_path;
+    char *psz_host, *psz_unix_path = NULL;
     int  *pi_socket = NULL;
 
 #ifndef WIN32




More information about the vlc-devel mailing list