From 1086dc4f1534187e4180561b39111cce1820726e Mon Sep 17 00:00:00 2001 From: moritz Date: Fri, 14 Sep 2007 07:00:41 +0000 Subject: [PATCH] In this case, the pl->num check is superfluous. git-svn-id: https://svn.xiph.org/trunk/ezstream@13801 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist.c b/src/playlist.c index f0d1df0..c6fbb3a 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -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++) {