]> git.sesse.net Git - vlc/commitdiff
Unused variable
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Tue, 24 Mar 2009 21:43:45 +0000 (23:43 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 31 Mar 2009 15:22:01 +0000 (18:22 +0300)
modules/access/cdda.c

index 979cada3cfd50128d6e5c58f4752d614bddc6dca..f4d980ffb96b4e8f66066dc47a51f9f045474fda 100644 (file)
@@ -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 )
     {