From ab579c5108ca14a4c3863762e7101f60b17a8b9b Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 7 Jun 2004 08:51:20 -0400 Subject: ERR: Remove warning --- Source/CTest/cmCTestSubmit.cxx | 4 ++-- 1 file 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::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; -- cgit v0.12