1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04: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:
moritz 2007-09-14 07:00:41 +00:00
parent b3f845a60d
commit 1086dc4f15

View File

@ -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++) {