mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibPthread: Remove redundant return statement
The pthread_exit() function doesn't return and is marked as such.
This commit is contained in:
parent
e37576440d
commit
c0bd2c0691
Notes:
sideshowbarker
2024-07-18 11:12:26 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/c0bd2c06919 Pull-request: https://github.com/SerenityOS/serenity/pull/8333
1 changed files with 0 additions and 1 deletions
|
@ -47,7 +47,6 @@ static void* pthread_create_helper(void* (*routine)(void*), void* argument, void
|
|||
s_stack_size = stack_size;
|
||||
void* ret_val = routine(argument);
|
||||
pthread_exit(ret_val);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static int create_thread(pthread_t* thread, void* (*entry)(void*), void* argument, PthreadAttrImpl* thread_params)
|
||||
|
|
Loading…
Reference in a new issue