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 | |
parent | 44560137021e8f5dcfb19e7723a40dc8c27b2eee (diff) | |
download | CMake-8e702e69770163c599c6d46335550f6fbd03f30b.zip CMake-8e702e69770163c599c6d46335550f6fbd03f30b.tar.gz CMake-8e702e69770163c599c6d46335550f6fbd03f30b.tar.bz2 |
COMP: fix some w4 warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 | ||||
-rw-r--r-- | Source/cmWin32ProcessExecution.cxx | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index ae4547d..ee1c014 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1587,7 +1587,7 @@ std::string cmLocalVisualStudio7Generator class cmVS7XMLParser : public cmXMLParser { public: - virtual void EndElement(const char* name) + virtual void EndElement(const char* /* name */) { } virtual void StartElement(const char* name, const char** atts) 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"; |