Code

screen_browser: removed commented code
authorMax Kellermann <max@duempel.org>
Thu, 18 Sep 2008 21:35:12 +0000 (23:35 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 18 Sep 2008 21:35:12 +0000 (23:35 +0200)
src/screen_browser.c

index 406d205cd8cec0df3bfcf747cec7631eb9c3bc24..c92c44321b76e69b8b6b34915523643ded705ce8 100644 (file)
@@ -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;
        }