Removed unused variable
This commit is contained in:
parent
3bf01c109d
commit
7fa1f82ed9
@ -334,7 +334,6 @@ list_devices() {
|
|||||||
for name in $devs
|
for name in $devs
|
||||||
do
|
do
|
||||||
# Collect reasons
|
# Collect reasons
|
||||||
tasty=
|
|
||||||
yucky=
|
yucky=
|
||||||
reasons=
|
reasons=
|
||||||
good_trans=
|
good_trans=
|
||||||
@ -379,7 +378,6 @@ list_devices() {
|
|||||||
if test "$trans" = "usb" -o "$trans" = "mmcblk"
|
if test "$trans" = "usb" -o "$trans" = "mmcblk"
|
||||||
then
|
then
|
||||||
good_trans="${trans}+"
|
good_trans="${trans}+"
|
||||||
tasty=y
|
|
||||||
elif test -n "$trans"
|
elif test -n "$trans"
|
||||||
then
|
then
|
||||||
bad_trans="$trans"
|
bad_trans="$trans"
|
||||||
@ -449,7 +447,6 @@ list_devices() {
|
|||||||
then
|
then
|
||||||
if test -n "$has_iso"
|
if test -n "$has_iso"
|
||||||
then
|
then
|
||||||
tasty=y
|
|
||||||
reasons="${reasons}look_for_iso++ "
|
reasons="${reasons}look_for_iso++ "
|
||||||
else
|
else
|
||||||
yucky=y
|
yucky=y
|
||||||
@ -458,8 +455,6 @@ list_devices() {
|
|||||||
elif test -n "$has_other"
|
elif test -n "$has_other"
|
||||||
then
|
then
|
||||||
yucky=y
|
yucky=y
|
||||||
else
|
|
||||||
tasty=y
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optional tests for size
|
# Optional tests for size
|
||||||
|
Loading…
Reference in New Issue
Block a user