[rhythmbox] rb-mpris-plugin: Remove unused variable



commit 2e03c56e8eda58401a347c9d07ecbc39b6eb8f2e
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 5 14:40:48 2011 +0000

    rb-mpris-plugin: Remove unused variable

 plugins/mpris/rb-mpris-plugin.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/mpris/rb-mpris-plugin.c b/plugins/mpris/rb-mpris-plugin.c
index 12c3ae1..3c5ead1 100644
--- a/plugins/mpris/rb-mpris-plugin.c
+++ b/plugins/mpris/rb-mpris-plugin.c
@@ -924,7 +924,6 @@ static GVariant *
 get_maybe_playlist_value (RBMprisPlugin *plugin, RBSource *source)
 {
 	GVariant *maybe_playlist = NULL;
-	gboolean valid = FALSE;
 
 	if (source != NULL) {
 		const char *id;
@@ -934,7 +933,6 @@ get_maybe_playlist_value (RBMprisPlugin *plugin, RBSource *source)
 			char *name;
 			g_object_get (source, "name", &name, NULL);
 			maybe_playlist = g_variant_new ("(b(oss))", TRUE, id, name, "");
-			valid = TRUE;
 			g_free (name);
 		}
 	}



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