ERR: Remove warning

This commit is contained in:
Andy Cedilnik 2004-02-11 10:56:35 -05:00
parent ff6bc56616
commit 302d60371a
1 changed files with 4 additions and 4 deletions

View File

@ -2271,9 +2271,9 @@ int cmCTest::TestDirectory(bool memcheck)
if ( m_DartMode )
{
std::ofstream ofs;
std::ofstream xmlfile;
if( !this->OpenOutputFile(m_CurrentTag,
(memcheck ? (m_CompatibilityMode?"Purify.xml":"MemCheck.xml") : "Test.xml"), ofs) )
(memcheck ? (m_CompatibilityMode?"Purify.xml":"MemCheck.xml") : "Test.xml"), xmlfile) )
{
std::cerr << "Cannot create " << (memcheck ? "memory check" : "testing")
<< " XML file" << std::endl;
@ -2281,11 +2281,11 @@ int cmCTest::TestDirectory(bool memcheck)
}
if ( memcheck )
{
this->GenerateDartMemCheckOutput(ofs);
this->GenerateDartMemCheckOutput(xmlfile);
}
else
{
this->GenerateDartTestOutput(ofs);
this->GenerateDartTestOutput(xmlfile);
}
}