[vlc-devel] commit: Remove unused arguments - CID 5 ( Rafaël Carré )

git version control git at videolan.org
Fri May 30 16:09:42 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri May 30 16:11:21 2008 +0200| [49be6b3b2b0258ca24d2238f0941a6c9483172d5]

Remove unused arguments - CID 5

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

 modules/visualization/visual/effects.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/visualization/visual/effects.c b/modules/visualization/visual/effects.c
index ee209b1..0aef6bb 100644
--- a/modules/visualization/visual/effects.c
+++ b/modules/visualization/visual/effects.c
@@ -68,7 +68,6 @@ int spectrum_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
     int i_separ;                      /* Should we let blanks ? */
     int i_amp;                        /* Vertical amplification */
     int i_peak;                       /* Should we draw peaks ? */
-    char *psz_parse = NULL;           /* Args line */
 
     /* Horizontal scale for 20-band equalizer */
     const int xscale1[]={0,1,2,3,4,5,6,7,8,11,15,20,27,
@@ -318,7 +317,6 @@ int spectrum_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
     p_s16_buff = NULL;
 
     free( height );
-    free( psz_parse );
 
     return 0;
 }
@@ -359,8 +357,6 @@ int spectrometer_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
     char color1;             /* V slide on a YUV color cube */
     //char color2;             /* U slide.. ?  color2 fade color ? */
 
-    char *psz_parse = NULL;           /* Args line */
-
     /* Horizontal scale for 20-band equalizer */
     const int xscale1[]={0,1,2,3,4,5,6,7,8,11,15,20,27,
                         36,47,62,82,107,141,184,255};
@@ -772,7 +768,6 @@ int spectrometer_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
     p_s16_buff = NULL;
 
     free( height );
-    free( psz_parse );
 
     return 0;
 }




More information about the vlc-devel mailing list