changeset 4858:51e2089a73f1

audacious_rc_playlist_enqueue_to_temp(): drop totally unused value Found by LLVM static analyzer.
author William Pitcock <nenolod@atheme.org>
date Thu, 16 Apr 2009 20:14:28 -0500
parents a8f1e4b43ec4
children 6df303facb72
files src/audlegacy/dbus.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audlegacy/dbus.c	Thu Apr 16 20:07:38 2009 -0500
+++ b/src/audlegacy/dbus.c	Thu Apr 16 20:14:28 2009 -0500
@@ -908,7 +908,6 @@
 }
 
 gboolean audacious_rc_playlist_enqueue_to_temp(RemoteObject *obj, gchar *url, GError **error) {
-    GList *playlists = NULL;
     Playlist *new_pl = playlist_new();
     gchar *pl_name = NULL;
 
@@ -918,7 +917,6 @@
     playlist_set_current_name(new_pl, pl_name);
     g_free(pl_name);
 
-    playlists = playlist_get_playlists();
     playlist_add_playlist(new_pl);
 
 //    DISABLE_MANAGER_UPDATE();