From ce277b647bc4687cf5c06654782d57c3795880a1 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 6 Sep 2004 12:46:10 -0400 Subject: [PATCH] warning fix --- Source/cmGlobalGenerator.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 1c3be927b..54b7264a1 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -129,15 +129,15 @@ void cmGlobalGenerator::EnableLanguage(std::vectorconst& languages, l != languages.end(); ++l) { const char* lang = l->c_str(); - std::string src = m_ConfiguredFilesPath; - src += "/CMake"; - src += lang; - src += "Compiler.cmake"; - std::string dst = rootBin; - dst += "/CMake"; - dst += lang; - dst += "Compiler.cmake"; - cmSystemTools::CopyFileIfDifferent(src.c_str(), dst.c_str()); + std::string src2 = m_ConfiguredFilesPath; + src2 += "/CMake"; + src2 += lang; + src2 += "Compiler.cmake"; + std::string dst2 = rootBin; + dst2 += "/CMake"; + dst2 += lang; + dst2 += "Compiler.cmake"; + cmSystemTools::CopyFileIfDifferent(src2.c_str(), dst2.c_str()); } rootBin = m_ConfiguredFilesPath; }