Skip to content

Commit 078b8d1

Browse files
stephanlachniteli-schwartz
authored andcommitted
Fix not passing user option args to scan-build build
The option refactor (#14251) required False as argument in order for get_user_option_args to work as intended. This commit removes this argument again. Signed-off-by: Stephan Lachnit <[email protected]>
1 parent 3734ff4 commit 078b8d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mesonbuild/backend/ninjabackend.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3799,9 +3799,7 @@ def generate_gcov_clean(self) -> None:
37993799
gcda_elem.add_item('description', 'Deleting gcda files')
38003800
self.add_build(gcda_elem)
38013801

3802-
def get_user_option_args(self, shut_up_pylint: bool = True) -> T.List[str]:
3803-
if shut_up_pylint:
3804-
return []
3802+
def get_user_option_args(self) -> T.List[str]:
38053803
cmds = []
38063804
for k, v in self.environment.coredata.optstore.items():
38073805
if self.environment.coredata.optstore.is_project_option(k):

0 commit comments

Comments
 (0)