PlaylistSong: remove the IsInDatabase() check

No caller passes a database song to this function, but if he does,
this check doesn't make sense.
This commit is contained in:
Max Kellermann 2014-01-20 21:44:16 +01:00
parent 414d5b648c
commit 501f1e6de0
1 changed files with 0 additions and 4 deletions

View File

@ -99,10 +99,6 @@ DetachedSong *
playlist_check_translate_song(DetachedSong *song, const char *base_uri,
bool secure)
{
if (song->IsInDatabase())
/* already ok */
return song;
const char *uri = song->GetURI();
if (uri_has_scheme(uri)) {