[vlc-devel] commit: src: Fix an unused var warning plus an invalid conversion warning in libvlc-common .c. (Pierre d'Herbemont )

git version control git at videolan.org
Fri Apr 11 18:57:43 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Apr 11 18:57:51 2008 +0200| [eac783c0d7bd87944e0d8598764d17c342e5394a]

src: Fix an unused var warning plus an invalid conversion warning in libvlc-common.c.

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

 include/main.h      |    2 +-
 src/libvlc-common.c |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/main.h b/include/main.h
index 97ba2cc..0e81325 100644
--- a/include/main.h
+++ b/include/main.h
@@ -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)
 
diff --git a/src/libvlc-common.c b/src/libvlc-common.c
index c951a38..3ee6175 100644
--- a/src/libvlc-common.c
+++ b/src/libvlc-common.c
@@ -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;
 




More information about the vlc-devel mailing list