mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +00:00
[KERNEL32] Use NULL for pointers.
This commit is contained in:
parent
3a85d2764c
commit
c7022c1b0c
1 changed files with 4 additions and 4 deletions
|
@ -1395,9 +1395,9 @@ GetStartupInfoA(IN LPSTARTUPINFOA lpStartupInfo)
|
|||
if (StartupInfo)
|
||||
{
|
||||
/* Zero out string pointers in case we fail to create them */
|
||||
StartupInfo->lpReserved = 0;
|
||||
StartupInfo->lpDesktop = 0;
|
||||
StartupInfo->lpTitle = 0;
|
||||
StartupInfo->lpReserved = NULL;
|
||||
StartupInfo->lpDesktop = NULL;
|
||||
StartupInfo->lpTitle = NULL;
|
||||
|
||||
/* Set the size */
|
||||
StartupInfo->cb = sizeof(*StartupInfo);
|
||||
|
@ -2425,7 +2425,7 @@ CreateProcessInternalW(IN HANDLE hUserToken,
|
|||
DebuggerCmdLine = NULL;
|
||||
PathBuffer = NULL;
|
||||
SearchPath = NULL;
|
||||
NullBuffer = 0;
|
||||
NullBuffer = NULL;
|
||||
FreeBuffer = NULL;
|
||||
NameBuffer = NULL;
|
||||
CurrentDirectory = NULL;
|
||||
|
|
Loading…
Reference in a new issue