diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-02 15:50:45 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-02 15:50:45 (GMT) |
commit | 8e702e69770163c599c6d46335550f6fbd03f30b (patch) | |
tree | b2dff43f3ab91951d6d2ef9742860912ce317c26 /Source/cmWin32ProcessExecution.cxx | |
parent | 44560137021e8f5dcfb19e7723a40dc8c27b2eee (diff) | |
download | CMake-8e702e69770163c599c6d46335550f6fbd03f30b.zip CMake-8e702e69770163c599c6d46335550f6fbd03f30b.tar.gz CMake-8e702e69770163c599c6d46335550f6fbd03f30b.tar.bz2 |
COMP: fix some w4 warnings
Diffstat (limited to 'Source/cmWin32ProcessExecution.cxx')
-rw-r--r-- | Source/cmWin32ProcessExecution.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmWin32ProcessExecution.cxx b/Source/cmWin32ProcessExecution.cxx index 6e62990..27ec2e5 100644 --- a/Source/cmWin32ProcessExecution.cxx +++ b/Source/cmWin32ProcessExecution.cxx @@ -502,6 +502,10 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring, saAttr.bInheritHandle = TRUE; saAttr.lpSecurityDescriptor = NULL; + fd1 = 0; + fd2 = 0; + fd3 = 0; + if (!CreatePipe(&this->hChildStdinRd, &this->hChildStdinWr, &saAttr, 0)) { this->Output += "CreatePipeError\n"; |