From 40224a072247844ffe1dbe650f13dfbb4281b581 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 18 Sep 2008 23:35:12 +0200 Subject: [PATCH] screen_browser: removed commented code --- src/screen_browser.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/screen_browser.c b/src/screen_browser.c index 406d205..c92c443 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -445,21 +445,6 @@ browser_handle_select_all(struct screen_browser *browser, mpdclient_t *c) } } } - /* - else { - //remove song from playlist - if( entry->entity->type==MPD_INFO_ENTITY_TYPE_SONG ) { - mpd_Song *song = entry->entity->info.song; - - if( song ) { - int idx = playlist_get_index_from_file(c, song->file); - - while( (idx=playlist_get_index_from_file(c, song->file))>=0 ) - mpdclient_cmd_delete(c, idx); - } - } - } - */ return 0; } -- 2.30.2