mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
In this case, the pl->num check is superfluous.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13801 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
b3f845a60d
commit
1086dc4f15
@ -382,7 +382,7 @@ playlist_goto_entry(playlist_t *pl, const char *entry)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (pl->program || pl->num == 0)
|
||||
if (pl->program)
|
||||
return (0);
|
||||
|
||||
for (i = 0; i < pl->num; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user