summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-02 16:26:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-02 16:26:54 (GMT)
commit0b518c2fdb0898b1edfe40db4dd754e808817814 (patch)
treee58c52bbdd21f9aa780a95f03c41c62c5af1be7e /Source/CTest/cmCTestBuildHandler.cxx
parentac05727cb0b43673d0fa219995cb5661b168635a (diff)
downloadCMake-0b518c2fdb0898b1edfe40db4dd754e808817814.zip
CMake-0b518c2fdb0898b1edfe40db4dd754e808817814.tar.gz
CMake-0b518c2fdb0898b1edfe40db4dd754e808817814.tar.bz2
COMP: Remove compile warning
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index df344a8..e614988 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -664,10 +664,10 @@ void cmCTestBuildHandler::ProcessBuffer(const char* data, int length, size_t& ti
errorwarning.m_PostContext = "";
// Copy pre-context to report
- std::deque<cmStdString>::iterator it;
- for ( it = m_PreContext.begin(); it != m_PreContext.end(); ++it )
+ std::deque<cmStdString>::iterator pcit;
+ for ( pcit = m_PreContext.begin(); pcit != m_PreContext.end(); ++pcit )
{
- errorwarning.m_PreContext += *it + "\n";
+ errorwarning.m_PreContext += *pcit + "\n";
}
m_PreContext.clear();