From 4ff6d59d101768e94a1e2299345d3e129ddb0f08 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 15 Oct 2018 21:02:50 -0400 Subject: [PATCH] populate-initrd: drop unused local variable the inst_library function declares a variable `_lib` that's completely unused. This commit removes the declaration. --- scripts/plymouth-populate-initrd.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in index c70adbe7..c2f46c0f 100755 --- a/scripts/plymouth-populate-initrd.in +++ b/scripts/plymouth-populate-initrd.in @@ -168,7 +168,7 @@ rev_lib_symlinks() { # It handles making symlinks according to how the original library # is referenced. inst_library() { - local _src="$1" _dest=${2:-$1} _lib _reallib _symlink + local _src="$1" _dest=${2:-$1} _reallib _symlink strstr "$1" "/" || return 1 [[ -e $initdir/$_dest ]] && return 0 if [[ -L $_src ]]; then -- 2.47.3