mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:02:59 +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)
|
if (StartupInfo)
|
||||||
{
|
{
|
||||||
/* Zero out string pointers in case we fail to create them */
|
/* Zero out string pointers in case we fail to create them */
|
||||||
StartupInfo->lpReserved = 0;
|
StartupInfo->lpReserved = NULL;
|
||||||
StartupInfo->lpDesktop = 0;
|
StartupInfo->lpDesktop = NULL;
|
||||||
StartupInfo->lpTitle = 0;
|
StartupInfo->lpTitle = NULL;
|
||||||
|
|
||||||
/* Set the size */
|
/* Set the size */
|
||||||
StartupInfo->cb = sizeof(*StartupInfo);
|
StartupInfo->cb = sizeof(*StartupInfo);
|
||||||
|
@ -2425,7 +2425,7 @@ CreateProcessInternalW(IN HANDLE hUserToken,
|
||||||
DebuggerCmdLine = NULL;
|
DebuggerCmdLine = NULL;
|
||||||
PathBuffer = NULL;
|
PathBuffer = NULL;
|
||||||
SearchPath = NULL;
|
SearchPath = NULL;
|
||||||
NullBuffer = 0;
|
NullBuffer = NULL;
|
||||||
FreeBuffer = NULL;
|
FreeBuffer = NULL;
|
||||||
NameBuffer = NULL;
|
NameBuffer = NULL;
|
||||||
CurrentDirectory = NULL;
|
CurrentDirectory = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue