From 7f6ff73396c5937ed59ff569edaca7053044c5f9 Mon Sep 17 00:00:00 2001 From: Zach Mullen Date: Thu, 3 Sep 2009 15:50:47 -0400 Subject: [PATCH] Fixed 2 unused variable warnings --- Source/CTest/cmProcess.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx index a44868403..b0914f250 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::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::size_type size = this->StdErrorBuffer.size(); this->StdErrorBuffer.insert(this->StdErrorBuffer.end(), data, data+length); }