bug 377: --lcov-report not working fully

This commit is contained in:
Faker Moatamri
2009-04-24 11:14:10 +02:00
parent 8a94aee8aa
commit 3113083ede

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)