]> git.sesse.net Git - vlc/commitdiff
You can't find the root object, so don't try to mess up with it
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 9 Nov 2006 18:08:36 +0000 (18:08 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 9 Nov 2006 18:08:36 +0000 (18:08 +0000)
modules/control/http/rpn.c

index c3de10f176ed2d57d55c4ad78b96c5abafcde7d0..962473c08347694157c641fe09b23792542aaa79 100644 (file)
@@ -37,9 +37,7 @@ static vlc_object_t *GetVLCObject( intf_thread_t *p_intf,
     vlc_object_t *p_object = NULL;
     *pb_need_release = VLC_FALSE;
 
-    if( !strcmp( psz_object, "VLC_OBJECT_ROOT" ) )
-        i_object_type = VLC_OBJECT_ROOT;
-    else if( !strcmp( psz_object, "VLC_OBJECT_LIBVLC" ) )
+    if( !strcmp( psz_object, "VLC_OBJECT_LIBVLC" ) )
         p_object = VLC_OBJECT(p_intf->p_libvlc);
     else if( !strcmp( psz_object, "VLC_OBJECT_INTF" ) )
         p_object = VLC_OBJECT(p_intf);