Browse Source

ENH: remove warnings from use of NULL

Bill Hoffman 22 years ago
parent
commit
44429c46c0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Source/cmWin32ProcessExecution.cxx

+ 4 - 4
Source/cmWin32ProcessExecution.cxx

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