Removed unused variable

This commit is contained in:
Thomas Schmitt 2019-12-03 21:47:07 +01:00
parent 3bf01c109d
commit 7fa1f82ed9

View File

@ -334,7 +334,6 @@ list_devices() {
for name in $devs
do
# Collect reasons
tasty=
yucky=
reasons=
good_trans=
@ -379,7 +378,6 @@ list_devices() {
if test "$trans" = "usb" -o "$trans" = "mmcblk"
then
good_trans="${trans}+"
tasty=y
elif test -n "$trans"
then
bad_trans="$trans"
@ -449,7 +447,6 @@ list_devices() {
then
if test -n "$has_iso"
then
tasty=y
reasons="${reasons}look_for_iso++ "
else
yucky=y
@ -458,8 +455,6 @@ list_devices() {
elif test -n "$has_other"
then
yucky=y
else
tasty=y
fi
# Optional tests for size