changeset 4635:ca64cd387021

Remove dead code.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 11 Jun 2008 18:32:35 +0300
parents f733f3d75850
children f6204058f034
files src/audacious/main.c
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/main.c	Wed Jun 11 18:03:27 2008 +0300
+++ b/src/audacious/main.c	Wed Jun 11 18:32:35 2008 +0300
@@ -563,22 +563,17 @@
 load_extra_playlist(const gchar * path, const gchar * basename,
         gpointer def)
 {
-    const gchar *title;
-    Playlist *playlist;
-    Playlist *deflist;
+    Playlist *playlist, *deflist = (Playlist *)def;
 
-    deflist = (Playlist *)def;
     playlist = playlist_new();
     if (!playlist) {
-        g_warning("Couldn't create new playlist\n");
+        g_warning("Couldn't create new playlist for %s / %s\n", path, basename);
         return FALSE;
     }
 
     playlist_add_playlist(playlist);
     playlist_load(playlist, path);
 
-    title = playlist_get_current_name(playlist);
-
     return FALSE; /* keep loading other playlists */
 }