[vlc-devel] commit: Remove p_static_vlc, not used anymore ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 17 21:16:19 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jan 17 22:06:48 2009 +0200| [36547e29d73e00fd5dff1f50b4f507554ef0115b] | committer: Rémi Denis-Courmont 

Remove p_static_vlc, not used anymore

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

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

diff --git a/src/libvlc.c b/src/libvlc.c
index 2f07f4e..6127966 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -99,7 +99,6 @@
 /*****************************************************************************
  * The evil global variables. We handle them with care, don't worry.
  *****************************************************************************/
-static libvlc_int_t *    p_static_vlc = NULL;
 static unsigned          i_instances = 0;
 
 #ifndef WIN32
@@ -285,9 +284,6 @@ libvlc_int_t * libvlc_InternalCreate( void )
     vlc_mutex_init( &priv->timer_lock );
     vlc_mutex_init( &priv->config_lock );
 
-    /* Store data for the non-reentrant API */
-    p_static_vlc = p_libvlc;
-
     return p_libvlc;
 }
 




More information about the vlc-devel mailing list