summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmParsePHPCoverage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmParsePHPCoverage.cxx')
-rw-r--r--Source/CTest/cmParsePHPCoverage.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/CTest/cmParsePHPCoverage.cxx b/Source/CTest/cmParsePHPCoverage.cxx
index eb0d962..5ec2718 100644
--- a/Source/CTest/cmParsePHPCoverage.cxx
+++ b/Source/CTest/cmParsePHPCoverage.cxx
@@ -27,10 +27,7 @@ bool cmParsePHPCoverage::ReadUntil(std::istream& in, char until)
char c = 0;
while (in.get(c) && c != until) {
}
- if (c != until) {
- return false;
- }
- return true;
+ return c == until;
}
bool cmParsePHPCoverage::ReadCoverageArray(std::istream& in,
std::string const& fileName)