COMP: fix some w4 warnings
This commit is contained in:
parent
4456013702
commit
8e702e6977
|
@ -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)
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue