[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588307: live-initramfs: Unreachable code in Arguments



Package: live-initramfs
Version: 1.236.2-1
Severity: normal
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu maverick

The Arguments function contains this code:

                        ethdevice=*)
                                DEVICE="${ARGUMENT#ethdevice=}"
                                export DEVICE
                                ;;

                        ethdevice=*)
                                ETHDEVICE="${ARGUMENT#ethdevice=}"
                                export ETHDEVICE
                                ;;

Only the first pattern will be matched.  The second is therefore
unreachable code.

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



Reply to: