[Cmake-commits] [cmake-commits] zach.mullen committed cmProcess.cxx 1.7 1.8

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Sep 3 15:50:49 EDT 2009


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv16257

Modified Files:
	cmProcess.cxx 
Log Message:
Fixed 2 unused variable warnings


Index: cmProcess.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmProcess.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** cmProcess.cxx	3 Sep 2009 19:33:44 -0000	1.7
--- cmProcess.cxx	3 Sep 2009 19:50:47 -0000	1.8
***************
*** 153,158 ****
      else if(pipe == cmsysProcess_Pipe_STDOUT)
        {
!       // Append to the stdout buffer.
!       std::vector<char>::size_type size = this->StdOutBuffer.size();
        this->StdOutBuffer.insert(this->StdOutBuffer.end(), data, data+length);
        }
--- 153,157 ----
      else if(pipe == cmsysProcess_Pipe_STDOUT)
        {
!         // Append to the stdout buffer.
        this->StdOutBuffer.insert(this->StdOutBuffer.end(), data, data+length);
        }
***************
*** 160,164 ****
        {
        // Append to the stderr buffer.
-       std::vector<char>::size_type size = this->StdErrorBuffer.size();
        this->StdErrorBuffer.insert(this->StdErrorBuffer.end(),
                                    data, data+length);
--- 159,162 ----



More information about the Cmake-commits mailing list