[vlc-devel] commit: Fix compiler warning about unused variables. (Jean-Paul Saman )

git version control git at videolan.org
Wed Mar 12 23:52:28 CET 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Tue Mar 11 15:52:01 2008 +0100| [39599d620f7d5f385b8dc2566c11105cf0719128]

Fix compiler warning about unused variables.

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

 modules/video_filter/croppadd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/croppadd.c b/modules/video_filter/croppadd.c
index 8acaa0f..469aeac 100644
--- a/modules/video_filter/croppadd.c
+++ b/modules/video_filter/croppadd.c
@@ -55,7 +55,6 @@ vlc_module_end();
 static int OpenFilter( vlc_object_t *p_this )
 {
     filter_t *p_filter = (filter_t*)p_this;
-    filter_sys_t *p_sys;
 
     if( p_filter->fmt_in.video.i_chroma != p_filter->fmt_out.video.i_chroma )
     {
@@ -82,6 +81,7 @@ static int OpenFilter( vlc_object_t *p_this )
  *****************************************************************************/
 static void CloseFilter( vlc_object_t *p_this )
 {
+    VLC_UNUSED(p_this);
 }
 
 /****************************************************************************




More information about the vlc-devel mailing list