[sound-juicer] Fix unused variable in UUID getter code



commit 22a733d0b463f38f315f6ac1cee8dcdefd2c345a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 25 13:21:20 2009 +0000

    Fix unused variable in UUID getter code

 libjuicer/sj-metadata-musicbrainz3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libjuicer/sj-metadata-musicbrainz3.c b/libjuicer/sj-metadata-musicbrainz3.c
index 3b3b0f6..5845e0a 100644
--- a/libjuicer/sj-metadata-musicbrainz3.c
+++ b/libjuicer/sj-metadata-musicbrainz3.c
@@ -46,6 +46,7 @@
 
 #if HAVE_MB_EXTRACT_UUID
 #define GET_ID(field, function, obj) {						\
+	char uuid_buffer[37];							\
         function (obj, buffer, sizeof (buffer));				\
 	mb_extract_uuid (buffer, uuid_buffer, sizeof (uuid_buffer));		\
 	if (field)								\
@@ -109,7 +110,6 @@ make_album_from_release (MbRelease *release)
 {
   AlbumDetails *album;
   char buffer[512];
-  char uuid_buffer[37];
   MbArtist artist;
   char *new_title;
   int i;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]