[vlc-devel] commit: kate: Remove unused variable. (Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 19 16:26:28 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Aug 19 13:42:44 2009 +0200| [78ecd2b0304d4f86ff1aa3c45b06237b2bfc3c6b] | committer: Pierre d'Herbemont 

kate: Remove unused variable.

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

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

diff --git a/modules/codec/kate.c b/modules/codec/kate.c
index 0c671a1..0c5f89a 100644
--- a/modules/codec/kate.c
+++ b/modules/codec/kate.c
@@ -344,7 +344,6 @@ static int OpenDecoder( vlc_object_t *p_this )
 {
     decoder_t     *p_dec = (decoder_t*)p_this;
     decoder_sys_t *p_sys;
-    int            i_ret;
 
     if( p_dec->fmt_in.i_codec != VLC_CODEC_KATE )
     {
@@ -403,7 +402,7 @@ static int OpenDecoder( vlc_object_t *p_this )
 
     if( p_sys->b_use_tiger )
     {
-        i_ret = tiger_renderer_create( &p_sys->p_tr );
+        int i_ret = tiger_renderer_create( &p_sys->p_tr );
         if( i_ret < 0 )
         {
             msg_Warn ( p_dec, "Failed to create Tiger renderer, falling back to basic rendering" );




More information about the vlc-devel mailing list