]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add return NULL; at end of thread loops.
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 16 Aug 2009 09:15:40 +0000 (09:15 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 16 Aug 2009 09:15:40 +0000 (09:15 +0000)
gcc4.4 seem to think that this code is reachable but it isn't

src/iptv_input.c
src/transports.c

index 221d8b0662d84bba75c07039156633964b46858e..b58df9b5684fe5a0a2a7a4a9b55f3c68f0f62fb3 100644 (file)
@@ -158,6 +158,7 @@ iptv_thread(void *aux)
     }
     pthread_mutex_unlock(&iptv_recvmutex);
   }
+  return NULL;
 }
 
 
index df47a9820f7b56458d12898a894f0852e288fd29..50f772ecfa235964a5817ff8a8cb0af1b6542d4e 100644 (file)
@@ -832,6 +832,7 @@ transport_saver(void *aux)
     pthread_mutex_unlock(&global_lock);
     pthread_mutex_lock(&pending_save_mutex);
   }
+  return NULL;
 }