From 08a36d27e49c020ee598fa74efa01bc1c48d168d Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 24 Nov 2013 14:13:06 +0100 Subject: removed debug mode preventing plt_clear during add_files --- playlist.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index eb6268cc..3cf80dae 100644 --- a/playlist.c +++ b/playlist.c @@ -808,11 +808,6 @@ plt_move (int from, int to) { void plt_clear (playlist_t *plt) { pl_lock (); - if (addfiles_playlist) { - fprintf (stderr, "forbidden to clear playlist while add files in progress\n"); - pl_unlock (); - return; - } while (plt->head[PL_MAIN]) { plt_remove_item (plt, plt->head[PL_MAIN]); } -- cgit v1.2.3