Commit 49dd062d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

p_root->p_probe: unused, remove

parent 9c87bdf6
...@@ -115,7 +115,6 @@ struct libvlc_global_data_t ...@@ -115,7 +115,6 @@ struct libvlc_global_data_t
vlc_object_t ** pp_objects; ///< Array of all objects vlc_object_t ** pp_objects; ///< Array of all objects
module_bank_t * p_module_bank; ///< The module bank module_bank_t * p_module_bank; ///< The module bank
intf_thread_t *p_probe; ///< Devices prober
/* Arch-specific variables */ /* Arch-specific variables */
#if defined( SYS_BEOS ) #if defined( SYS_BEOS )
......
...@@ -34,10 +34,11 @@ ...@@ -34,10 +34,11 @@
#include <vlc/intf.h> #include <vlc/intf.h>
#include <vlc_devices.h> #include <vlc_devices.h>
static intf_thread_t *p_probe_thread = NULL;
void devices_ProbeCreate( vlc_object_t *p_this ) void devices_ProbeCreate( vlc_object_t *p_this )
{ {
intf_thread_t * p_probe; intf_thread_t * p_probe;
p_this->p_libvlc_global->p_probe = NULL;
/* Allocate structure */ /* Allocate structure */
p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF ); p_probe = vlc_object_create( p_this, VLC_OBJECT_INTF );
...@@ -54,7 +55,7 @@ void devices_ProbeCreate( vlc_object_t *p_this ) ...@@ -54,7 +55,7 @@ void devices_ProbeCreate( vlc_object_t *p_this )
return; return;
} }
p_this->p_libvlc_global->p_probe = p_probe; p_probe_thread = p_probe;
} }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment