From 6340421f513de12236e39a970ec061b720c2c0d9 Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Sun, 17 Sep 2023 19:00:07 -0400 Subject: [PATCH] Patch gcovr script --- utils/gcovr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gcovr.py b/utils/gcovr.py index febd0fe..6f28c63 100755 --- a/utils/gcovr.py +++ b/utils/gcovr.py @@ -632,7 +632,7 @@ def process_gcov_data(data_fname, covdata, source_fname, options): elif tmp[0] == '=': is_code_statement = True uncovered_exceptional.add(lineno) - elif tmp[0] in "0123456789": + elif tmp[0] in "0123456789" and not segments[0].endswith("*"): is_code_statement = True covered[lineno] = int(segments[0].strip()) elif tmp.startswith('branch'):