[vlc-devel] commit: dv: fix compiler warnings about unused variables. (Jean-Paul Saman )

git version control git at videolan.org
Thu Jun 25 10:55:53 CEST 2009


vlc | branch: 1.0-bugfix | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Thu Jun 25 10:42:03 2009 +0200| [31d64379a5706513ee6ed4e440c9e723a9842c9e] | committer: Jean-Paul Saman 

dv: fix compiler warnings about unused variables.

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

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

diff --git a/modules/access/dv.c b/modules/access/dv.c
index aadc11e..665f833 100644
--- a/modules/access/dv.c
+++ b/modules/access/dv.c
@@ -148,7 +148,6 @@ static int Open( vlc_object_t *p_this )
     char *psz_name = strdup( p_access->psz_path );
 
     struct raw1394_portinfo port_inf[ 16 ];
-    raw1394_iso_recv_handler_t handler;
 
     msg_Dbg( p_access, "opening device %s", psz_name );
 
@@ -411,6 +410,8 @@ Raw1394Handler(raw1394handle_t handle, unsigned char *data,
     access_t *p_access = NULL;
     access_sys_t *p_sys = NULL;
     block_t *p_block = NULL;
+    VLC_UNUSED(channel); VLC_UNUSED(tag);
+    VLC_UNUSED(sy); VLC_UNUSED(cycle); VLC_UNUSED(dropped);
 
     p_access = (access_t *) raw1394_get_userdata( handle );
     if( !p_access ) return 0;




More information about the vlc-devel mailing list