COMP: fix some w4 warnings

This commit is contained in:
Ken Martin 2007-03-02 10:50:45 -05:00
parent 4456013702
commit 8e702e6977
2 changed files with 5 additions and 1 deletions

View File

@ -1587,7 +1587,7 @@ std::string cmLocalVisualStudio7Generator
class cmVS7XMLParser : public cmXMLParser class cmVS7XMLParser : public cmXMLParser
{ {
public: public:
virtual void EndElement(const char* name) virtual void EndElement(const char* /* name */)
{ {
} }
virtual void StartElement(const char* name, const char** atts) virtual void StartElement(const char* name, const char** atts)

View File

@ -502,6 +502,10 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring,
saAttr.bInheritHandle = TRUE; saAttr.bInheritHandle = TRUE;
saAttr.lpSecurityDescriptor = NULL; saAttr.lpSecurityDescriptor = NULL;
fd1 = 0;
fd2 = 0;
fd3 = 0;
if (!CreatePipe(&this->hChildStdinRd, &this->hChildStdinWr, &saAttr, 0)) if (!CreatePipe(&this->hChildStdinRd, &this->hChildStdinWr, &saAttr, 0))
{ {
this->Output += "CreatePipeError\n"; this->Output += "CreatePipeError\n";