Add return NULL; at end of thread loops.
gcc4.4 seem to think that this code is reachable but it isn't
This commit is contained in:
parent
58b120f6f2
commit
72ff81e25c
2 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,7 @@ iptv_thread(void *aux)
|
|||
}
|
||||
pthread_mutex_unlock(&iptv_recvmutex);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -832,6 +832,7 @@ transport_saver(void *aux)
|
|||
pthread_mutex_unlock(&global_lock);
|
||||
pthread_mutex_lock(&pending_save_mutex);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue