From 010760fa9259cf7d4bcf66404f3bd78e95464508 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Mon, 30 Jan 2023 21:13:10 +0100 Subject: [PATCH] armbian-next: shellcheck: raise the bar, stop excluding "SC2155 Declare and assign separately to avoid masking return values" --- lib/tools/shellcheck.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tools/shellcheck.sh b/lib/tools/shellcheck.sh index df75c548c4..b93a8bf565 100755 --- a/lib/tools/shellcheck.sh +++ b/lib/tools/shellcheck.sh @@ -71,7 +71,6 @@ case "${SEVERITY}" in "SC2086" # "quote this to prevent word splitting" -- bad expansion, variant 3, a lot of legacy pre-next code hits this "SC2206" # (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. "SC2154" # "is referenced but not assigned." idem - "SC2155" # "Declare and assign separately to avoid masking return values." - pretty bad ) ;;