COMP: Remove warning

This commit is contained in:
Andy Cedilnik 2005-04-25 09:59:59 -04:00
parent 3a928c027c
commit 26d4dd174f
1 changed files with 4 additions and 4 deletions

View File

@ -130,14 +130,14 @@ void cmLocalGenerator::GenerateTestFiles()
fout << "ADD_TEST("; fout << "ADD_TEST(";
fout << test->GetName() << " \"" << test->GetCommand() << "\""; fout << test->GetName() << " \"" << test->GetCommand() << "\"";
std::vector<cmStdString>::iterator it; std::vector<cmStdString>::iterator argit;
for (it = test->GetArguments().begin(); for (argit = test->GetArguments().begin();
it != test->GetArguments().end(); ++it) argit != test->GetArguments().end(); ++argit)
{ {
// Just double-quote all arguments so they are re-parsed // Just double-quote all arguments so they are re-parsed
// correctly by the test system. // correctly by the test system.
fout << " \""; fout << " \"";
for(std::string::iterator c = it->begin(); c != it->end(); ++c) for(std::string::iterator c = argit->begin(); c != argit->end(); ++c)
{ {
// Escape quotes within arguments. We should escape // Escape quotes within arguments. We should escape
// backslashes too but we cannot because it makes the result // backslashes too but we cannot because it makes the result