diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index b2eb1f8cd633..3e8d564e2fbf 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -55,7 +55,6 @@ def __init__(self, subproject: SubProject = SubProject(''), subproject_dir: str = 'subprojects', env: T.Optional[environment.Environment] = None): - visitors = visitors if visitors is not None else [] super().__init__(source_root, subdir, subproject, visitors=visitors) options = IntrospectionHelper(cross_file)