mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05: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:
parent
9bfb3a34fc
commit
11b9c61ae7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user