From 72ff81e25c295eafa7ae25713d117f1cb1c0ada5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 16 Aug 2009 09:15:40 +0000 Subject: [PATCH] Add return NULL; at end of thread loops. gcc4.4 seem to think that this code is reachable but it isn't --- src/iptv_input.c | 1 + src/transports.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/iptv_input.c b/src/iptv_input.c index 221d8b06..b58df9b5 100644 --- a/src/iptv_input.c +++ b/src/iptv_input.c @@ -158,6 +158,7 @@ iptv_thread(void *aux) } pthread_mutex_unlock(&iptv_recvmutex); } + return NULL; } diff --git a/src/transports.c b/src/transports.c index df47a982..50f772ec 100644 --- a/src/transports.c +++ b/src/transports.c @@ -832,6 +832,7 @@ transport_saver(void *aux) pthread_mutex_unlock(&global_lock); pthread_mutex_lock(&pending_save_mutex); } + return NULL; }