[vlc-devel] [PATCH 5/6] queue: Remove invalid return

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 3 15:33:48 CET 2020


---
 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,
-- 
2.29.2



More information about the vlc-devel mailing list