From 078b8d17d4b200aa258f3b68ab33c81450486553 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Tue, 26 Aug 2025 11:09:26 +0200 Subject: Fix not passing user option args to scan-build build The option refactor (https://github.com/mesonbuild/meson/pull/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 --- mesonbuild/backend/ninjabackend.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index cb97245ec..7413ee39c 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -3799,9 +3799,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485''')) gcda_elem.add_item('description', 'Deleting gcda files') self.add_build(gcda_elem) - def get_user_option_args(self, shut_up_pylint: bool = True) -> T.List[str]: - if shut_up_pylint: - return [] + def get_user_option_args(self) -> T.List[str]: cmds = [] for k, v in self.environment.coredata.optstore.items(): if self.environment.coredata.optstore.is_project_option(k): -- cgit v1.2.3