From 3a4b874ec0379c688d127f929b8f3f75f6530a72 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 24 Jul 2023 09:45:17 -0700 Subject: [PATCH] interpreter: stop setting member out of initializer that isn't even used --- mesonbuild/interpreter/interpreter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 6aa0a3751..5c3ef8272 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -3282,7 +3282,6 @@ class Interpreter(InterpreterBase, HoldableObject): kwargs['include_directories'] = self.extract_incdirs(kwargs) target = targetclass(name, self.subdir, self.subproject, for_machine, srcs, struct, objs, self.environment, self.compilers[for_machine], kwargs) - target.project_version = self.project_version self.add_target(name, target) self.project_args_frozen = True