]> git.sesse.net Git - vlc/commitdiff
src: Fix an unused var warning plus an invalid conversion warning in libvlc-common.c.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 11 Apr 2008 16:57:51 +0000 (18:57 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 11 Apr 2008 16:57:51 +0000 (18:57 +0200)
include/main.h
src/libvlc-common.c

index 97ba2cc78f151b389f18074358b9c94bc9584bf5..0e81325ffeacd915478695978d4c2bbfc301c7f4 100644 (file)
@@ -49,7 +49,7 @@ struct libvlc_int_t
 
     vlc_object_t          *p_interaction;    ///< interface interaction object
 
-    vlc_object_t          *p_vlm;            ///< vlm if created from libvlc-common.
+    vlm_t                 *p_vlm;            ///< vlm if created from libvlc-common.
                                              /// (this is clearly private and
                                              //  shouldn't be used)
 
index c951a38290969401f6ad1474fc80b160a9b2dfdd..3ee61757a111a8bafde810005c3586880d96eb34 100644 (file)
@@ -1026,8 +1026,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
  */
 int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, vlc_bool_t b_release )
 {
-    vlc_value_t lockval;
-
     if( !p_libvlc )
         return VLC_EGENERIC;