diff options
-rw-r--r-- | src/screen_browser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c index 0a06e5fb3..dbc7adad3 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -56,8 +56,7 @@ set_highlight(mpdclient_filelist_t *fl, mpd_Song *song, int highlight) { GList *list = g_list_first(fl->list); - if( !song ) - return; + assert(song != NULL); while( list ) { filelist_entry_t *entry = list->data; |