From 4790a444d8188eb2b5b15d96ea8fdec4a430709d Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Wed, 15 Apr 2026 02:34:22 +0200 Subject: [PATCH] lint: disable incorrect warning about unused fn `cleanup` is used via `trap`. Part of #12636 --- build_tools/check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_tools/check.sh b/build_tools/check.sh index 6d00da50e..2068628e5 100755 --- a/build_tools/check.sh +++ b/build_tools/check.sh @@ -60,6 +60,7 @@ cargo() { fi } +# shellcheck disable=2329 cleanup () { if [ -n "$gettext_template_dir" ] && [ -e "$gettext_template_dir" ]; then rm -r "$gettext_template_dir"