Remove unused variables in bootstrap

cmp, u1, u2 seem not to be used at all.
This commit is contained in:
Michael Vetter 2020-08-21 09:26:19 +02:00
parent 5659366bf6
commit e3fc28ae15

View File

@ -399,7 +399,7 @@ cmp_versions()
{ {
local v1="${1}" local v1="${1}"
local v2="${2}" local v2="${2}"
local e1=0 e2=0 u1 u2 d1=0 d2=0 local e1=0 e2=0 d1=0 d2=0
# Case-insensitive comparison # Case-insensitive comparison
v1="${v1^^}" v1="${v1^^}"
@ -640,7 +640,6 @@ enter_version()
enter_milestone() enter_milestone()
{ {
local ms="${1}" local ms="${1}"
local cmp
info[ms]=${ms} info[ms]=${ms}
if [ -n "${info[ver]}" ]; then if [ -n "${info[ver]}" ]; then