1
1

Adding a dumb but essential check to see if any file was touched

This commit was SVN r5478.
Этот коммит содержится в:
Prabhanjan Kambadur 2005-04-21 05:18:12 +00:00
родитель ed60597034
Коммит ea0e1de399

Просмотреть файл

@ -234,9 +234,11 @@ sub generate_stats {
}
close(RESULT);
}
print COVERAGE "==============================================================\n";
print COVERAGE "Average coverage was: ", $average/$num_files, " \n";
print COVERAGE "==============================================================\n";
if ($num_files != 0){
print COVERAGE "==============================================================\n";
print COVERAGE "Average coverage was: ", $average/$num_files, " \n";
print COVERAGE "==============================================================\n";
}
close(INPUT);
close(COVERAGE);
if ($calculate == 1) {