]> git.sesse.net Git - vlc/commitdiff
rtsp: Flag unused parameters.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 13:56:25 +0000 (15:56 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 14:43:24 +0000 (16:43 +0200)
modules/access/rtsp/access.c
modules/access/rtsp/rtsp.c

index 769338e0d7649f2e85d9d25666581bbdc8516c0b..8c3ac017b497c4649566566181e888e9652ce5b1 100644 (file)
@@ -136,6 +136,7 @@ static int RtspReadLine( void *p_userdata, uint8_t *p_buffer, int i_buffer )
 
 static int RtspWrite( void *p_userdata, uint8_t *p_buffer, int i_buffer )
 {
+    VLC_UNUSED(i_buffer);
     access_t *p_access = (access_t *)p_userdata;
     access_sys_t *p_sys = p_access->p_sys;
 
@@ -308,6 +309,8 @@ static block_t *BlockRead( access_t *p_access )
  *****************************************************************************/
 static int Seek( access_t *p_access, int64_t i_pos )
 {
+    VLC_UNUSED(p_access);
+    VLC_UNUSED(i_pos);
     return VLC_SUCCESS;
 }
 
index 9587cea4c5e035e363fdf858f6a191c109105076..3793c23e5b51f3396d7621a43d50588dd72537ad 100644 (file)
@@ -128,6 +128,7 @@ static int rtsp_put( rtsp_client_t *rtsp, const char *psz_string )
 
 static int rtsp_get_status_code( rtsp_client_t *rtsp, const char *psz_string )
 {
+    VLC_UNUSED(rtsp);
     char psz_buffer[4];
     int i_code = 0;