diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-09-03 19:50:47 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-09-03 19:50:47 (GMT) |
commit | 7f6ff73396c5937ed59ff569edaca7053044c5f9 (patch) | |
tree | 9774bc49d568fbd7a4a245fd0bf1a0555a9b98e8 /Source/CTest/cmProcess.cxx | |
parent | d4adde13d7d507f5896b8c7912e46bbbcb71b539 (diff) | |
download | CMake-7f6ff73396c5937ed59ff569edaca7053044c5f9.zip CMake-7f6ff73396c5937ed59ff569edaca7053044c5f9.tar.gz CMake-7f6ff73396c5937ed59ff569edaca7053044c5f9.tar.bz2 |
Fixed 2 unused variable warnings
Diffstat (limited to 'Source/CTest/cmProcess.cxx')
-rw-r--r-- | Source/CTest/cmProcess.cxx | 4 |
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); } |