diff --git a/utils/gcovr.py b/utils/gcovr.py index febd0fe4..6f28c639 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'):