From: RĂ©mi Denis-Courmont Date: Sun, 4 May 2008 16:40:22 +0000 (+0300) Subject: p_root->p_probe: unused, remove X-Git-Tag: 0.9.0-test0~1181 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=49dd062d2e4f097d3af73e0478476f7c39db1cf5;p=vlc p_root->p_probe: unused, remove --- diff --git a/src/libvlc.h b/src/libvlc.h index 9b793a7adb..6a31ff6843 100644 --- a/src/libvlc.h +++ b/src/libvlc.h @@ -115,7 +115,6 @@ struct libvlc_global_data_t vlc_object_t ** pp_objects; ///< Array of all objects module_bank_t * p_module_bank; ///< The module bank - intf_thread_t *p_probe; ///< Devices prober /* Arch-specific variables */ #if defined( SYS_BEOS ) diff --git a/src/misc/devices.c b/src/misc/devices.c index 609786ef0f..e0f839d605 100644 --- a/src/misc/devices.c +++ b/src/misc/devices.c @@ -34,10 +34,11 @@ #include #include +static intf_thread_t *p_probe_thread = NULL; + void devices_ProbeCreate( vlc_object_t *p_this ) { intf_thread_t * p_probe; - p_this->p_libvlc_global->p_probe = NULL; /* Allocate structure */ p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF ); @@ -54,7 +55,7 @@ void devices_ProbeCreate( vlc_object_t *p_this ) return; } - p_this->p_libvlc_global->p_probe = p_probe; + p_probe_thread = p_probe; } #endif