[PATCH 1/7] msvcrt: Remove return after _endthread().

Piotr Caban piotr.caban at gmail.com
Tue May 4 07:30:56 CDT 2021


Hi Arek,

On 5/4/21 1:49 PM, Arkadiusz Hiler wrote:
> Signed-off-by: Arkadiusz Hiler <ahiler at codeweavers.com>
> ---
>   dlls/msvcrt/thread.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/dlls/msvcrt/thread.c b/dlls/msvcrt/thread.c
> index 650afdc08af..c2fc863dd33 100644
> --- a/dlls/msvcrt/thread.c
> +++ b/dlls/msvcrt/thread.c
> @@ -103,7 +103,6 @@ static DWORD CALLBACK _beginthread_trampoline(LPVOID arg)
>   
>       local_trampoline.start_address(local_trampoline.arglist);
>       _endthread();
> -    return 0;
>   }
Even so the return will be never reached removing it will cause a 
compiler warning.

Thanks,
Piotr



More information about the wine-devel mailing list