mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Fix 'declaration hides parameter'
This commit is contained in:
parent
2e3162cdca
commit
339e043ff2
@ -797,10 +797,11 @@ bool playlist_push(playlist_t *playlist,
|
||||
|
||||
if (playlist->size == playlist->cap)
|
||||
{
|
||||
struct playlist_entry *entry = &playlist->entries[playlist->cap - 1];
|
||||
struct playlist_entry *last_entry =
|
||||
&playlist->entries[playlist->cap - 1];
|
||||
|
||||
if (entry)
|
||||
playlist_free_entry(entry);
|
||||
if (last_entry)
|
||||
playlist_free_entry(last_entry);
|
||||
playlist->size--;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user