Remove logically dead code

This commit is contained in:
twinaphex 2016-05-24 04:26:24 +02:00
parent d1d46a59db
commit aae721a9d0

View File

@ -180,11 +180,8 @@ void playlist_update(playlist_t *playlist, size_t idx,
if (idx > playlist->size)
return;
entry = &playlist->entries[idx];
entry = &playlist->entries[idx];
if (!entry)
return;
entry->path = path ? strdup(path) : entry->path;
entry->label = label ? strdup(label) : entry->label;
entry->core_path = core_path ? strdup(core_path) : entry->core_path;