diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-06-07 12:51:20 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-06-07 12:51:20 (GMT) |
commit | ab579c5108ca14a4c3863762e7101f60b17a8b9b (patch) | |
tree | 4ae09787391d42b6385ce2d09f05fd3d70e0d4c1 /Source/CTest | |
parent | 23b81b7469acd54ae250a19995119142dfd45ce9 (diff) | |
download | CMake-ab579c5108ca14a4c3863762e7101f60b17a8b9b.zip CMake-ab579c5108ca14a4c3863762e7101f60b17a8b9b.tar.gz CMake-ab579c5108ca14a4c3863762e7101f60b17a8b9b.tar.bz2 |
ERR: Remove warning
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestSubmit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestSubmit.cxx b/Source/CTest/cmCTestSubmit.cxx index 2c55ab1..8f066f3 100644 --- a/Source/CTest/cmCTestSubmit.cxx +++ b/Source/CTest/cmCTestSubmit.cxx @@ -430,8 +430,6 @@ bool cmCTestSubmit::SubmitUsingSCP( cmsysProcess_SetOption(cp, cmsysProcess_Option_HideWindow, 1); //cmsysProcess_SetTimeout(cp, timeout); - int retVal = 0; - int problems = 0; std::vector<cmStdString>::const_iterator it; @@ -439,6 +437,8 @@ bool cmCTestSubmit::SubmitUsingSCP( it != files.end(); it ++ ) { + int retVal; + std::string lfname = localprefix; cmSystemTools::ConvertToUnixSlashes(lfname); lfname += "/" + *it; |