summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-03 19:50:47 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-03 19:50:47 (GMT)
commit7f6ff73396c5937ed59ff569edaca7053044c5f9 (patch)
tree9774bc49d568fbd7a4a245fd0bf1a0555a9b98e8
parentd4adde13d7d507f5896b8c7912e46bbbcb71b539 (diff)
downloadCMake-7f6ff73396c5937ed59ff569edaca7053044c5f9.zip
CMake-7f6ff73396c5937ed59ff569edaca7053044c5f9.tar.gz
CMake-7f6ff73396c5937ed59ff569edaca7053044c5f9.tar.bz2
Fixed 2 unused variable warnings
-rw-r--r--Source/CTest/cmProcess.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index a448684..b0914f2 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -152,14 +152,12 @@ int cmProcess::CheckOutput(double timeout)
}
else if(pipe == cmsysProcess_Pipe_STDOUT)
{
- // Append to the stdout buffer.
- std::vector<char>::size_type size = this->StdOutBuffer.size();
+ // Append to the stdout buffer.
this->StdOutBuffer.insert(this->StdOutBuffer.end(), data, data+length);
}
else if(pipe == cmsysProcess_Pipe_STDERR)
{
// Append to the stderr buffer.
- std::vector<char>::size_type size = this->StdErrorBuffer.size();
this->StdErrorBuffer.insert(this->StdErrorBuffer.end(),
data, data+length);
}