changeset 34666:a5c69b91ff2c

Remove unnecessary condition. The listMgr can handle empty lists.
author ib
date Wed, 22 Feb 2012 01:07:10 +0000
parents ca53dc5326fa
children 7c447e9db447
files gui/ui/gtk/playlist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/playlist.c	Tue Feb 21 20:40:59 2012 +0000
+++ b/gui/ui/gtk/playlist.c	Wed Feb 22 01:07:10 2012 +0000
@@ -192,7 +192,7 @@
        {
         int i;
         plItem * item;
-	if ( plList ) listMgr( PLAYLIST_DELETE,0 );
+	listMgr( PLAYLIST_DELETE,0 );
 	for ( i=0;i<NrOfSelected;i++ )
 	 {
 	  char * text[3];