[rhythmbox] sj-metadata: Remove unused variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] sj-metadata: Remove unused variable
- Date: Sat, 5 Feb 2011 14:44:59 +0000 (UTC)
commit 28240cf84949ed4fe24c7f259ae53aec623ceb66
Author: Bastien Nocera <hadess hadess net>
Date: Sat Feb 5 14:32:04 2011 +0000
sj-metadata: Remove unused variable
plugins/audiocd/sj-metadata.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/audiocd/sj-metadata.c b/plugins/audiocd/sj-metadata.c
index ce82fc5..797c9ff 100644
--- a/plugins/audiocd/sj-metadata.c
+++ b/plugins/audiocd/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]