Commit 11b9c61a authored by Philipp Schafft's avatar Philipp Schafft 🦁

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.
parent 9bfb3a34
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment