[PATCH v3 08/11] ntoskrnl.exe: Export and set PsInitialSystemProcess.

Jacek Caban jacek at codeweavers.com
Thu Apr 11 14:46:38 CDT 2019


On 4/11/19 8:27 PM, Derek Lesho wrote:
> diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
> index 11dd41f90e..625878d8dd 100644
> --- a/dlls/ntoskrnl.exe/ntoskrnl.c
> +++ b/dlls/ntoskrnl.exe/ntoskrnl.c
> @@ -91,7 +91,7 @@ static const WCHAR servicesW[] = {'\\','R','e','g','i','s','t','r','y',
>   #define MAX_SERVICE_NAME 260
>   
>   /* tid of the thread running client request */
> -static DWORD request_thread;
> +static DWORD request_thread = 0;


There is no need for that, static variables are zeroed anyway.


Jacek




More information about the wine-devel mailing list