bug 377: --lcov-report not working fully

This commit is contained in:
Faker Moatamri committed 2009-04-24 11:14:10 +02:00
1 parent c74e887a14
commit 00a38e8081
1 file changed
+6
+6
View File
@@ -1292,6 +1292,12 @@ sub read_gcno_file($)
{
next;
}
#added because if length is zero the following
#reading process will die, it will read garbage
if ($length == 0)
{
next;
}
($blocks, $filename) =
read_gcno_string(*INPUT, $endianness);
if ($blocks > 1)