Skip to content

Commit be5c0cb

Browse files
committed
geninfo: Fix missing check for unterminated exclusion marker
When reading gcov intermediate data, geninfo does not check for unterminated branch exception exclusion markers. Fix this my adding the corresponding check. Signed-off-by: Peter Oberparleiter <[email protected]>
1 parent 7e98c6c commit be5c0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/geninfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2938,7 +2938,7 @@ sub get_source_data($)
29382938
}
29392939
close(HANDLE);
29402940

2941-
if ($flag || $brflag) {
2941+
if ($flag || $brflag || $exceptionbrflag) {
29422942
warn("WARNING: unterminated exclusion section in $filename\n");
29432943
}
29442944

0 commit comments

Comments
 (0)