[cmake-commits] martink committed cmWin32ProcessExecution.cxx 1.29 1.30

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Mar 2 10:50:47 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv32173

Modified Files:
	cmWin32ProcessExecution.cxx 
Log Message:
COMP: fix some w4 warnings


Index: cmWin32ProcessExecution.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmWin32ProcessExecution.cxx,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- cmWin32ProcessExecution.cxx	5 Oct 2006 17:43:02 -0000	1.29
+++ cmWin32ProcessExecution.cxx	2 Mar 2007 15:50:45 -0000	1.30
@@ -502,6 +502,10 @@
   saAttr.bInheritHandle = TRUE;
   saAttr.lpSecurityDescriptor = NULL;
   
+  fd1 = 0;
+  fd2 = 0;
+  fd3 = 0;
+
   if (!CreatePipe(&this->hChildStdinRd, &this->hChildStdinWr, &saAttr, 0))
     {
     this->Output += "CreatePipeError\n";



More information about the Cmake-commits mailing list