1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-06-09 06:10:42 +00:00

Update: Removed unused variable.

I'm not sure if we should check for the result of pthread_join().
But how it was doesn't do that anyway.
This commit is contained in:
Philipp Schafft 2018-06-20 06:37:10 +00:00
parent 9bfb3a34fc
commit 11b9c61ae7

View File

@ -750,9 +750,8 @@ void thread_library_unlock(void)
void thread_join(thread_type *thread)
{
void *ret;
int i;
i = pthread_join(thread->sys_thread, &ret);
pthread_join(thread->sys_thread, &ret);
_mutex_lock(&_threadtree_mutex);
avl_delete(_threadtree, thread, _free_thread);
_mutex_unlock(&_threadtree_mutex);