소스 검색

Fixed 2 unused variable warnings

Zach Mullen 16 년 전
부모
커밋
7f6ff73396
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      Source/CTest/cmProcess.cxx

+ 1 - 3
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);
       }