Commit fced6867 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

ntdll: Initialize a variable.

Fix an uninitialized pointer in RtlCreateUserThread, caught by coverity.
parent 95859a1d
......@@ -370,7 +370,7 @@ NTSTATUS WINAPI RtlCreateUserThread( HANDLE process, const SECURITY_DESCRIPTOR *
struct ntdll_thread_data *thread_data;
struct ntdll_thread_regs *thread_regs = NULL;
struct startup_info *info = NULL;
void *addr;
void *addr = NULL;
HANDLE handle = 0;
TEB *teb;
DWORD tid = 0;
......
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