# HG changeset patch # User ib # Date 1355333690 0 # Node ID d186ebe43c6840572277242287ab10236f9fa011 # Parent b356942130dfb28647cebd06f4887bf1cffb12ef Remove pointless condition. If there wasn't a curr item (and thus all its members have been set NULL), PLAYLIST_ITEM_FIND won't find anything anyway. diff -r b356942130df -r d186ebe43c68 gui/dialog/playlist.c --- a/gui/dialog/playlist.c Wed Dec 12 17:33:01 2012 +0000 +++ b/gui/dialog/playlist.c Wed Dec 12 17:34:50 2012 +0000 @@ -223,7 +223,7 @@ item = listMgr( PLAYLIST_GET,0 ); if ( item ) { - if ( guiInfo.Playing && curr.name ) + if ( guiInfo.Playing ) { old = listMgr( PLAYLIST_ITEM_FIND,&curr ); if ( old )