[sound-juicer] libjuicer: Remove unused variable



commit ed3f4cb76613a8345cc7aa8ba6d1f6b311500788
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 5 14:45:35 2011 +0000

    libjuicer: Remove unused variable

 libjuicer/sj-metadata.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libjuicer/sj-metadata.c b/libjuicer/sj-metadata.c
index ce82fc5..797c9ff 100644
--- a/libjuicer/sj-metadata.c
+++ b/libjuicer/sj-metadata.c
@@ -199,10 +199,9 @@ sj_metadata_helper_check_media (const char *cdrom, GError **error)
     return FALSE;
   }
 #else
-  TotemDiscMediaType type;
   GError *totem_error = NULL;
 
-  type = totem_cd_detect_type (cdrom, &totem_error);
+  totem_cd_detect_type (cdrom, &totem_error);
 
   if (totem_error != NULL) {
     g_set_error (error, SJ_ERROR, SJ_ERROR_CD_NO_MEDIA, _("Cannot read CD: %s"), totem_error->message);



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