git: 47535ba3d35e - main - bsdinstall: Remove unused variables in fetchmissingdists

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sun, 12 May 2024 17:25:46 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/src/commit/?id=47535ba3d35eda44d1eb961551173a9dadef17fa

commit 47535ba3d35eda44d1eb961551173a9dadef17fa
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-10-26 12:16:54 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-05-12 17:25:06 +0000

    bsdinstall: Remove unused variables in fetchmissingdists
    
    ALL_DISTRIBUTIONS and VERIFY_MANIFEST_SIG
    
    They are neither used in the script nor exported.
    Not referenced anywhere in bsdinstall/*
    
    Approved by:            imp@
    Differential Revision:  https://reviews.freebsd.org/D42369
---
 usr.sbin/bsdinstall/scripts/fetchmissingdists | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/usr.sbin/bsdinstall/scripts/fetchmissingdists b/usr.sbin/bsdinstall/scripts/fetchmissingdists
index d37acc96b92c..f5da3ee45c39 100644
--- a/usr.sbin/bsdinstall/scripts/fetchmissingdists
+++ b/usr.sbin/bsdinstall/scripts/fetchmissingdists
@@ -53,7 +53,6 @@ if [ -z "$FETCH_DISTRIBUTIONS" ]; then
 	exit 0
 fi
 
-ALL_DISTRIBUTIONS="$DISTRIBUTIONS"
 WANT_DEBUG=
 
 # Download to a directory in the new system as scratch space
@@ -75,10 +74,8 @@ export FTP_PASSIVE_MODE=YES
 
 if [ -f "$BSDINSTALL_DISTDIR_ORIG/MANIFEST" ]; then
 	cp "$BSDINSTALL_DISTDIR_ORIG/MANIFEST" "$BSDINSTALL_DISTDIR/MANIFEST"
-	VERIFY_MANIFEST_SIG=0
 else
 	FETCH_DISTRIBUTIONS="MANIFEST $FETCH_DISTRIBUTIONS"
-	VERIFY_MANIFEST_SIG=1
 
 	# XXX actually verify signature on manifest
 	bsddialog --backtitle "$OSNAME Installer" --title "Warning" --msgbox "Manifest not found on local disk and will be fetched from an unverified source. This is a potential security risk. If you do not wish to proceed, press control-C now." 0 0