comparison src/audacious/main.c @ 4635:ca64cd387021

Remove dead code.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 11 Jun 2008 18:32:35 +0300
parents bc29f566be02
children 23e712435e3e
comparison
equal deleted inserted replaced
4632:f733f3d75850 4635:ca64cd387021
561 561
562 static gboolean 562 static gboolean
563 load_extra_playlist(const gchar * path, const gchar * basename, 563 load_extra_playlist(const gchar * path, const gchar * basename,
564 gpointer def) 564 gpointer def)
565 { 565 {
566 const gchar *title; 566 Playlist *playlist, *deflist = (Playlist *)def;
567 Playlist *playlist; 567
568 Playlist *deflist;
569
570 deflist = (Playlist *)def;
571 playlist = playlist_new(); 568 playlist = playlist_new();
572 if (!playlist) { 569 if (!playlist) {
573 g_warning("Couldn't create new playlist\n"); 570 g_warning("Couldn't create new playlist for %s / %s\n", path, basename);
574 return FALSE; 571 return FALSE;
575 } 572 }
576 573
577 playlist_add_playlist(playlist); 574 playlist_add_playlist(playlist);
578 playlist_load(playlist, path); 575 playlist_load(playlist, path);
579
580 title = playlist_get_current_name(playlist);
581 576
582 return FALSE; /* keep loading other playlists */ 577 return FALSE; /* keep loading other playlists */
583 } 578 }
584 579
585 static void 580 static void