Skip to content

Commit 20c1dfd

Browse files
committed
show location of unused error codes
1 parent 9041b93 commit 20c1dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/errorck.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def check_unused_error_codes(error_codes, check_error_codes, filenames, dirnames
114114
if errcode in errcode_checked:
115115
continue
116116
all_errors.append(errcode)
117-
print("error: unused error code: " + errcode)
117+
print("error: unused error code: {0} ({1}:{2})".format(*errcode_map[errcode][0]))
118118
errors = True
119119

120120

0 commit comments

Comments
 (0)