From 396a85ab21d2519e83b59640971dd2b1a130469d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 23 Feb 2026 06:10:51 -0600 Subject: fix: resolve remaining SC2155 warnings across all scripts Declare and assign local variables separately in custom/archangel, scripts/full-test.sh, scripts/test-install.sh, and remove unused variable in custom/lib/zfs.sh. --- custom/lib/zfs.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'custom/lib') diff --git a/custom/lib/zfs.sh b/custom/lib/zfs.sh index bb948fb..feda91d 100644 --- a/custom/lib/zfs.sh +++ b/custom/lib/zfs.sh @@ -311,7 +311,6 @@ sync_zfs_efi_partitions() { step "Syncing EFI partitions for redundancy" - local primary="${efi_parts[0]}" for ((i=1; i<${#efi_parts[@]}; i++)); do local secondary="${efi_parts[$i]}" local tmp_mount="/tmp/efi_sync_$$" -- cgit v1.2.3