[vlc-devel] commit: live555: fix compiler warnings re: unused variables. ( Dominique Leuenberger )

git version control git at videolan.org
Sat Jan 24 00:25:44 CET 2009


vlc | branch: master | Dominique Leuenberger <dominique at leuenberger.net> | Sat Jan 24 00:11:47 2009 +0100| [2bf1567f2eac6242f0193ebc3b6de48f8bd89732] | committer: Jean-Baptiste Kempf 

live555: fix compiler warnings re: unused variables.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/live555.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index b5f7930..843ef3d 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -235,8 +235,6 @@ static int  Open ( vlc_object_t *p_this )
     demux_t     *p_demux = (demux_t*)p_this;
     demux_sys_t *p_sys = NULL;
 
-    MediaSubsessionIterator *iter   = NULL;
-    MediaSubsession         *sub    = NULL;
     int i, i_return;
     int i_error = VLC_EGENERIC;
 
@@ -1034,7 +1032,6 @@ static int SessionsSetup( demux_t *p_demux )
 static int Play( demux_t *p_demux )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
-    int i;
 
     if( p_sys->rtsp )
     {
@@ -1327,7 +1324,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
         case DEMUX_SET_RATE:
         {
             double f_scale, f_old_scale;
-            int i;
 
             if( !p_sys->rtsp || (p_sys->i_npt_length <= 0) ||
                 var_GetBool( p_demux, "rtsp-kasenna" ) )




More information about the vlc-devel mailing list