[vlc-devel] commit: Unused variable ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Mar 31 17:44:08 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi.denis-courmont at nokia.com> | Tue Mar 24 23:43:45 2009 +0200| [b0afc8638d7da7ce6d39fc6d70aaa29f5cf672e0] | committer: Rémi Denis-Courmont 

Unused variable

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

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

diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 979cada..f4d980f 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -398,7 +398,6 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
     const char *psz_genre = NULL;
     const char *psz_artist = NULL;
     const char *psz_description = NULL;
-    char psz_year_buffer[4+1];
 
 /* Return true if the given string is not NULL and not empty */
 #define NONEMPTY( psz ) ( (psz) && *(psz) )
@@ -407,6 +406,7 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
 
     /* Retreive CDDB informations */
 #ifdef HAVE_LIBCDDB
+    char psz_year_buffer[4+1];
     cddb_disc_t *p_disc = GetCDDBInfo( p_access, i_titles, p_sys->p_sectors );
     if( p_disc )
     {




More information about the vlc-devel mailing list