From a0f124e67c393ab6a181cb70b51fdcf4747e43e6 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 12 Sep 2024 22:07:24 +0100 Subject: [PATCH] ci: Ignore files in meson-private in scan-build runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are typically files generated by the gobject-introspection dumper, which we don’t want to scan as they are not part of GLib’s runtime code. For example: ``` /builds/GNOME/glib/_scan_build/meson-private/tmpr3jwvyib/tmp-introspect5dmnb_je/GObject-2.0.c:799:27: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') [core.NullDereference] 799 | g_printerr ("%s\n", error->message); | ^~~~~~~~~~~~~~ 1 warning generated. ``` Signed-off-by: Philip Withnall --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4dab477b..09c2dae3e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -787,6 +787,7 @@ scan-build: --exclude girepository/cmph/ --exclude glib/libcharset/ --exclude gio/xdgmime/ + --exclude meson-private/ -disable-checker deadcode.DeadStores --status-bugs before_script: