diff --git a/tools/cc1 b/tools/cc1 index 7a047e9ac1..aa2534f01e 100755 --- a/tools/cc1 +++ b/tools/cc1 @@ -174,7 +174,7 @@ def process_map_table(file, line, output): if print_debug: print(" %s lookup took %u attempts" % (qstr, attempts)) total_attempts += attempts - if len(entries): + if entries: stats = len(map), len(entries) / len(map), total_attempts / len(entries) else: stats = 0, 0, 0