summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/cc12
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cc1 b/tools/cc1
index 7a047e9ac..aa2534f01 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