[vlc-commits] queue: Remove invalid return

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 4 10:43:23 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Nov 30 06:21:10 2020 -0800| [a465050662f8a4d991bc75e27ea036c3cfab5b19] | committer: Hugo Beauzée-Luyssen

queue: Remove invalid return

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a465050662f8a4d991bc75e27ea036c3cfab5b19
---

 src/misc/queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/queue.c b/src/misc/queue.c
index 2ea374a5c1..d456069b64 100644
--- a/src/misc/queue.c
+++ b/src/misc/queue.c
@@ -59,7 +59,7 @@ static struct vlc_queue_entry **next_p(const struct vlc_queue_entry *e,
 static void next_set(struct vlc_queue_entry *e, struct vlc_queue_entry *next,
                      ptrdiff_t offset)
 {
-    return entry_set(next_p(e, offset), next);
+    entry_set(next_p(e, offset), next);
 }
 
 static struct vlc_queue_entry *next_get(const struct vlc_queue_entry *e,



More information about the vlc-commits mailing list