[vlc-devel] commit: rtsp: Flag unused parameters. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 16:43:33 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 15:56:25 2009 +0200| [5a980d530dd37c1faa1e6c68fd8c0b9dc7f13c6a] | committer: Pierre d'Herbemont 

rtsp: Flag unused parameters.

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

 modules/access/rtsp/access.c |    3 +++
 modules/access/rtsp/rtsp.c   |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index 769338e..8c3ac01 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -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;
 }
 
diff --git a/modules/access/rtsp/rtsp.c b/modules/access/rtsp/rtsp.c
index 9587cea..3793c23 100644
--- a/modules/access/rtsp/rtsp.c
+++ b/modules/access/rtsp/rtsp.c
@@ -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;
 




More information about the vlc-devel mailing list