ENH: remove warnings from use of NULL

This commit is contained in:
Bill Hoffman 2003-08-27 17:45:26 -04:00
parent 9f8444d7f6
commit 44429c46c0

View File

@ -655,7 +655,7 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring,
hChildStdoutWr, hChildStdoutWr,
&hProcess, m_HideWindows, &hProcess, m_HideWindows,
m_Output)) m_Output))
return NULL; return 0;
} }
else else
{ {
@ -667,7 +667,7 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring,
hChildStderrWr, hChildStderrWr,
&hProcess, m_HideWindows, &hProcess, m_HideWindows,
m_Output)) m_Output))
return NULL; return 0;
} }
/* /*
@ -882,9 +882,9 @@ int cmWin32ProcessExecution::Windows9xHack(const char* command)
bRet = CreateProcess( bRet = CreateProcess(
app, cmd, app, cmd,
NULL, NULL, 0, 0,
TRUE, 0, TRUE, 0,
NULL, NULL, 0, 0,
&si, &pi &si, &pi
); );
delete [] cmd; delete [] cmd;