Skip to content

Commit 6158bf2

Browse files
committed
Remove exceptions for _init and _fini
I'm not sure if these are still needed
1 parent 008ffb7 commit 6158bf2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Tools/build/smelly.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
IGNORED_EXTENSION = "_ctypes_test"
2424
# Ignore constructor and destructor functions
25-
IGNORED_SYMBOLS = {'_init', '_fini'}
2625

2726

2827
def is_local_symbol_type(symtype):
@@ -83,8 +82,6 @@ def get_smelly_symbols(stdout, dynamic=False):
8382

8483
if is_local_symbol_type(symtype):
8584
local_symbols.append(result)
86-
elif symbol in IGNORED_SYMBOLS:
87-
local_symbols.append(result)
8885
else:
8986
smelly_symbols.append(result)
9087

0 commit comments

Comments
 (0)