[rhythmbox] rb-playlist-source: Remove unused variable



commit a7b25d1b9497e9cb3b4ce9651716526f73a756cb
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 5 03:42:17 2011 +0000

    rb-playlist-source: Remove unused variable

 sources/rb-playlist-source.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/sources/rb-playlist-source.c b/sources/rb-playlist-source.c
index 33dbc09..9c488bb 100644
--- a/sources/rb-playlist-source.c
+++ b/sources/rb-playlist-source.c
@@ -717,7 +717,7 @@ rb_playlist_source_save_playlist (RBPlaylistSource *source,
 static xmlChar *
 xml_get_and_trim_names (xmlNodePtr node)
 {
-	xmlNodePtr cur, keep = NULL;
+	xmlNodePtr cur;
 	xmlChar *keep_lang = NULL;
 	xmlChar *value;
 	int j, keep_pri = INT_MAX;
@@ -754,7 +754,6 @@ xml_get_and_trim_names (xmlNodePtr node)
 
 				keep_lang = cur_lang;
 				keep_pri = cur_pri;
-				keep = cur;
 			} else {
 				if (cur_lang)
 					xmlFree (cur_lang);



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