summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmProcess.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index facd649..f97f038 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -114,6 +114,7 @@ bool cmProcess::Buffer::GetLast(std::string& line)
if(!this->empty())
{
line.assign(&*this->begin(), this->size());
+ this->First = this->Last = 0;
this->clear();
return true;
}