Fixed 2 unused variable warnings

This commit is contained in:
Zach Mullen 2009-09-03 15:50:47 -04:00
parent d4adde13d7
commit 7f6ff73396
1 changed files with 1 additions and 3 deletions

View File

@ -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);
}